﻿<%@ WebService Language="C#" Class="HIVServices" %>
<%@ Assembly Name="InfoExpress.HIV.Domains" %>
<%@ Assembly Name="InfoExpress.HIV.Services" %>


using System;
using System.Data;
using System.Web.Services;
using InfoExpress.HIV.Domains;
using InfoExpress.HIV.Services;



/// <summary>
///	Exposes CRUD webmethods for the HIVServices Database.
/// </summary>
[WebService(Namespace="http://localhost/InfoExpressHIV", Description="Exposes CRUD webmethods for the HIVServices Database.")]
public class HIVServices : WebService 
{
	
	/// <summary>
    /// used in exception handling for WebServices
    /// </summary>
    public enum FaultCode
    {
        /// <summary>
        /// Fault is on the client
        /// </summary>
        Client,
        /// <summary>
        /// Fault is on the server
        /// </summary>
        Server
    }
	

	#region TrangThai

	#region Get from  Many To Many Relationship Functions
	#endregion	
	
	#region Delete Functions
	
	/// <summary>
	/// 	Deletes a row from the DataSource.
	/// </summary>
	/// <param name="Id">. Primary Key.</param>	
	/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
	/// <param name="connectionString">Connection string to datasource.</param>
	/// <remarks>Deletes based on primary key(s).</remarks>
	/// <returns>Returns true if operation suceeded.</returns>
	[WebMethod(Description="Delete a row from the table TrangThai.")]
	public bool TrangThaiProvider_Delete(System.Int32 _id)
	{
		TrangThaiService serviceObject = new TrangThaiService();
		return serviceObject.Delete(_id);
	}		
	
	#endregion
	
	#region Find Functions
	
	/// <summary>
	/// 	Returns rows meeting the whereclause condition from the DataSource.
	/// </summary>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query.</param>
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table TrangThai with additional query text.")]
	public InfoExpress.HIV.Domains.TList<TrangThai> TrangThaiProvider_Find(string whereClause, int start, int pageLength, out int count)
	{
		TrangThaiService serviceObject = new TrangThaiService();
		return serviceObject.Find(whereClause, start, pageLength, out count);
	}
	
	#endregion Find Functions
	
	
	#region GetAll Functions
		
	/// <summary>
	/// 	Gets All rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <returns>Returns a <s>DataSet</s>.</returns>
	[WebMethod(Description="Get all rows from the table TrangThai.")]
	public InfoExpress.HIV.Domains.TList<TrangThai> TrangThaiProvider_GetAll(int start, int pageLength, out int count)
	{
		TrangThaiService serviceObject = new TrangThaiService();
		return serviceObject.GetAll(start, pageLength, out count);		
	}
	
	#endregion
	
	#region GetPaged
	
	/// <summary>
	/// Gets a page of rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pageLength">Number of rows to return.</param>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query (Name='John Doe', Name='John Doe' AND Id='1', Name='John Doe' OR Id='1').</param>
	/// <param name="orderBy">Specifies the sort criteria for the rows in the DataSource (Name ASC; BirthDay DESC, Name ASC);</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <remarks></remarks>
	/// <returns>Returns a typed collection of HIVServices objects.</returns>
	[WebMethod(Description="Get all rows from the table TrangThai.")]
	public InfoExpress.HIV.Domains.TList<TrangThai> TrangThaiProvider_GetPaged(string whereClause, string orderBy, int start, int pageLength, out int count)
	{
		TrangThaiService serviceObject = new TrangThaiService();
		return serviceObject.GetPaged(whereClause, orderBy, start, pageLength, out count);
	}

	#endregion
		
	#region Get By Foreign Key Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the FK_TrangThai_Loai key.
	///		FK_TrangThai_Loai Description: 
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="LoaiId"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from TrangThai filtered by the LoaiId column.")]
	public InfoExpress.HIV.Domains.TList<TrangThai> TrangThaiProvider_GetByLoaiId(System.Int32 _loaiId, int start, int pageLength, out int count)
	{
		TrangThaiService serviceObject = new TrangThaiService();
		return serviceObject.GetByLoaiId(_loaiId, start, pageLength, out count);
	}
	
#endregion
	
	#region Get By Index Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the PK_TrangThai index.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="Id"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table TrangThai filtered by the column Id that is part of the PK_TrangThai index.")]
	public InfoExpress.HIV.Domains.TrangThai TrangThaiProvider_GetById(System.Int32 _id, int start, int pageLength, out int count)
	{
		TrangThaiService serviceObject = new TrangThaiService();
		return serviceObject.GetById(_id, start, pageLength, out count);
	}
	

	#endregion Get By Index Functions
	
	#region Insert Methods
		
	/// <summary>
	/// 	Inserts an object into the datasource.
	/// </summary>	
	/// <remarks>After inserting into the datasource, the object will be returned
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a row in the table TrangThai.")]
	public InfoExpress.HIV.Domains.TrangThai TrangThaiProvider_Insert(InfoExpress.HIV.Domains.TrangThai entity )
	{
		TrangThaiService serviceObject = new TrangThaiService();
		serviceObject.Insert(entity);
		return entity;		
	}
	
	/// <summary>
	/// Inserts a InfoExpress.HIV.Domains.TList<TrangThai> object into the datasource using a transaction.
	/// </summary>
	/// <param name="entity">InfoExpress.HIV.Domains.TList<TrangThai> object to insert.</param>
	/// <remarks>After inserting into the datasource, the InfoExpress.HIV.Domains.TrangThai object will be updated
	/// to refelect any changes made by the datasource. (ie: identity or computed columns)
	/// </remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a Bulk set of rows into the table TrangThai.")]
	public void TrangThaiProvider_BulkInsert(InfoExpress.HIV.Domains.TList<TrangThai> entityList )
	{
		TrangThaiService serviceObject = new TrangThaiService();
		serviceObject.BulkInsert(entityList);
	}
	#endregion Insert Methods
			
	#region Update Methods
		
	/// <summary>
	/// 	Update an existing row in the datasource.
	/// </summary>
	/// <param name="entity"> object to update.</param>
	/// <remarks>After updating the datasource, the object will be updated
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Update a row in the table TrangThai.")]
	public InfoExpress.HIV.Domains.TrangThai TrangThaiProvider_Update(InfoExpress.HIV.Domains.TrangThai entity)
	{
		TrangThaiService serviceObject = new TrangThaiService();
		serviceObject.Update(entity);
		return entity;
	}

	#endregion Update Methods

	#region Custom Methods
	
	
	#endregion

	#endregion TrangThai

	#region BenhNhanDangKy

	#region Get from  Many To Many Relationship Functions
	#endregion	
	
	#region Delete Functions
	
	/// <summary>
	/// 	Deletes a row from the DataSource.
	/// </summary>
	/// <param name="BenhNhanId">. Primary Key.</param>	
	/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
	/// <param name="connectionString">Connection string to datasource.</param>
	/// <remarks>Deletes based on primary key(s).</remarks>
	/// <returns>Returns true if operation suceeded.</returns>
	[WebMethod(Description="Delete a row from the table BenhNhanDangKy.")]
	public bool BenhNhanDangKyProvider_Delete(System.Int32 _benhNhanId)
	{
		BenhNhanDangKyService serviceObject = new BenhNhanDangKyService();
		return serviceObject.Delete(_benhNhanId);
	}		
	
	#endregion
	
	#region Find Functions
	
	/// <summary>
	/// 	Returns rows meeting the whereclause condition from the DataSource.
	/// </summary>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query.</param>
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table BenhNhanDangKy with additional query text.")]
	public InfoExpress.HIV.Domains.TList<BenhNhanDangKy> BenhNhanDangKyProvider_Find(string whereClause, int start, int pageLength, out int count)
	{
		BenhNhanDangKyService serviceObject = new BenhNhanDangKyService();
		return serviceObject.Find(whereClause, start, pageLength, out count);
	}
	
	#endregion Find Functions
	
	
	#region GetAll Functions
		
	/// <summary>
	/// 	Gets All rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <returns>Returns a <s>DataSet</s>.</returns>
	[WebMethod(Description="Get all rows from the table BenhNhanDangKy.")]
	public InfoExpress.HIV.Domains.TList<BenhNhanDangKy> BenhNhanDangKyProvider_GetAll(int start, int pageLength, out int count)
	{
		BenhNhanDangKyService serviceObject = new BenhNhanDangKyService();
		return serviceObject.GetAll(start, pageLength, out count);		
	}
	
	#endregion
	
	#region GetPaged
	
	/// <summary>
	/// Gets a page of rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pageLength">Number of rows to return.</param>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query (Name='John Doe', Name='John Doe' AND Id='1', Name='John Doe' OR Id='1').</param>
	/// <param name="orderBy">Specifies the sort criteria for the rows in the DataSource (Name ASC; BirthDay DESC, Name ASC);</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <remarks></remarks>
	/// <returns>Returns a typed collection of HIVServices objects.</returns>
	[WebMethod(Description="Get all rows from the table BenhNhanDangKy.")]
	public InfoExpress.HIV.Domains.TList<BenhNhanDangKy> BenhNhanDangKyProvider_GetPaged(string whereClause, string orderBy, int start, int pageLength, out int count)
	{
		BenhNhanDangKyService serviceObject = new BenhNhanDangKyService();
		return serviceObject.GetPaged(whereClause, orderBy, start, pageLength, out count);
	}

	#endregion
		
	#region Get By Foreign Key Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the FK_TrangThai_BenhNhanDangKy key.
	///		FK_TrangThai_BenhNhanDangKy Description: 
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="TrangThaiId"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from BenhNhanDangKy filtered by the TrangThaiId column.")]
	public InfoExpress.HIV.Domains.TList<BenhNhanDangKy> BenhNhanDangKyProvider_GetByTrangThaiId(System.Int32 _trangThaiId, int start, int pageLength, out int count)
	{
		BenhNhanDangKyService serviceObject = new BenhNhanDangKyService();
		return serviceObject.GetByTrangThaiId(_trangThaiId, start, pageLength, out count);
	}
	
#endregion
	
	#region Get By Index Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the PK_BenhNhanDangKy index.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="BenhNhanId"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table BenhNhanDangKy filtered by the column BenhNhanId that is part of the PK_BenhNhanDangKy index.")]
	public InfoExpress.HIV.Domains.BenhNhanDangKy BenhNhanDangKyProvider_GetByBenhNhanId(System.Int32 _benhNhanId, int start, int pageLength, out int count)
	{
		BenhNhanDangKyService serviceObject = new BenhNhanDangKyService();
		return serviceObject.GetByBenhNhanId(_benhNhanId, start, pageLength, out count);
	}
	

	#endregion Get By Index Functions
	
	#region Insert Methods
		
	/// <summary>
	/// 	Inserts an object into the datasource.
	/// </summary>	
	/// <remarks>After inserting into the datasource, the object will be returned
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a row in the table BenhNhanDangKy.")]
	public InfoExpress.HIV.Domains.BenhNhanDangKy BenhNhanDangKyProvider_Insert(InfoExpress.HIV.Domains.BenhNhanDangKy entity )
	{
		BenhNhanDangKyService serviceObject = new BenhNhanDangKyService();
		serviceObject.Insert(entity);
		return entity;		
	}
	
	/// <summary>
	/// Inserts a InfoExpress.HIV.Domains.TList<BenhNhanDangKy> object into the datasource using a transaction.
	/// </summary>
	/// <param name="entity">InfoExpress.HIV.Domains.TList<BenhNhanDangKy> object to insert.</param>
	/// <remarks>After inserting into the datasource, the InfoExpress.HIV.Domains.BenhNhanDangKy object will be updated
	/// to refelect any changes made by the datasource. (ie: identity or computed columns)
	/// </remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a Bulk set of rows into the table BenhNhanDangKy.")]
	public void BenhNhanDangKyProvider_BulkInsert(InfoExpress.HIV.Domains.TList<BenhNhanDangKy> entityList )
	{
		BenhNhanDangKyService serviceObject = new BenhNhanDangKyService();
		serviceObject.BulkInsert(entityList);
	}
	#endregion Insert Methods
			
	#region Update Methods
		
	/// <summary>
	/// 	Update an existing row in the datasource.
	/// </summary>
	/// <param name="entity"> object to update.</param>
	/// <remarks>After updating the datasource, the object will be updated
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Update a row in the table BenhNhanDangKy.")]
	public InfoExpress.HIV.Domains.BenhNhanDangKy BenhNhanDangKyProvider_Update(InfoExpress.HIV.Domains.BenhNhanDangKy entity)
	{
		BenhNhanDangKyService serviceObject = new BenhNhanDangKyService();
		serviceObject.Update(entity);
		return entity;
	}

	#endregion Update Methods

	#region Custom Methods
	
	/// <summary>
	///	This method wrap the _BenhNhanDangKy_DsBenhNhanChuaDuyet stored procedure. 
	/// </summary>
	[WebMethod(Description="This method wrap the _BenhNhanDangKy_DsBenhNhanChuaDuyet stored procedure.")]
	public DataSet BenhNhanDangKyProvider_DsBenhNhanChuaDuyet()//int start, int pageLength)
	{
		BenhNhanDangKyService serviceObject = new BenhNhanDangKyService();
		
		    return  serviceObject.DsBenhNhanChuaDuyet()/*start, pageLength )*/;
	}
		
	/// <summary>
	///	This method wrap the _BenhNhanDangKy_DsBenhNhanTheoTrangThai stored procedure. 
	/// </summary>
	[WebMethod(Description="This method wrap the _BenhNhanDangKy_DsBenhNhanTheoTrangThai stored procedure.")]
	public TList<BenhNhanDangKy> BenhNhanDangKyProvider_DsBenhNhanTheoTrangThai(System.String maDonVi, System.Int32? trangThaiId, System.DateTime? tuNgay, System.DateTime? denNgay)//, int start, int pageLength)
	{
		BenhNhanDangKyService serviceObject = new BenhNhanDangKyService();
		
		    return  serviceObject.DsBenhNhanTheoTrangThai(maDonVi, trangThaiId, tuNgay, denNgay);//, start, pageLength );
	}
		
	/// <summary>
	///	This method wrap the _BenhNhanDangKy_LayThongTinDayDu stored procedure. 
	/// </summary>
	[WebMethod(Description="This method wrap the _BenhNhanDangKy_LayThongTinDayDu stored procedure.")]
	public DataSet BenhNhanDangKyProvider_LayThongTinDayDu(System.Int32? benhNhanId)//, int start, int pageLength)
	{
		BenhNhanDangKyService serviceObject = new BenhNhanDangKyService();
		
		    return  serviceObject.LayThongTinDayDu(benhNhanId)/*, start, pageLength )*/;
	}
		
	/// <summary>
	///	This method wrap the _BenhNhanDangKy_LaySttToiDa stored procedure. 
	/// </summary>
	[WebMethod(Description="This method wrap the _BenhNhanDangKy_LaySttToiDa stored procedure.")]
	public DataSet BenhNhanDangKyProvider_LaySttToiDa(System.String maDonVi, System.Int32? maPhanLoai, System.String year2Digit)//, int start, int pageLength)
	{
		BenhNhanDangKyService serviceObject = new BenhNhanDangKyService();
		
		    return  serviceObject.LaySttToiDa(maDonVi, maPhanLoai, year2Digit)/*, start, pageLength )*/;
	}
		
	
	#endregion

	#endregion BenhNhanDangKy

	#region s_Users

	#region Get from  Many To Many Relationship Functions
	#endregion	
	
	#region Delete Functions
	
	/// <summary>
	/// 	Deletes a row from the DataSource.
	/// </summary>
	/// <param name="Id">. Primary Key.</param>	
	/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
	/// <param name="connectionString">Connection string to datasource.</param>
	/// <remarks>Deletes based on primary key(s).</remarks>
	/// <returns>Returns true if operation suceeded.</returns>
	[WebMethod(Description="Delete a row from the table s_Users.")]
	public bool SUsersProvider_Delete(System.Int32 _id)
	{
		SUsersService serviceObject = new SUsersService();
		return serviceObject.Delete(_id);
	}		
	
	#endregion
	
	#region Find Functions
	
	/// <summary>
	/// 	Returns rows meeting the whereclause condition from the DataSource.
	/// </summary>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query.</param>
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table s_Users with additional query text.")]
	public InfoExpress.HIV.Domains.TList<SUsers> SUsersProvider_Find(string whereClause, int start, int pageLength, out int count)
	{
		SUsersService serviceObject = new SUsersService();
		return serviceObject.Find(whereClause, start, pageLength, out count);
	}
	
	#endregion Find Functions
	
	
	#region GetAll Functions
		
	/// <summary>
	/// 	Gets All rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <returns>Returns a <s>DataSet</s>.</returns>
	[WebMethod(Description="Get all rows from the table s_Users.")]
	public InfoExpress.HIV.Domains.TList<SUsers> SUsersProvider_GetAll(int start, int pageLength, out int count)
	{
		SUsersService serviceObject = new SUsersService();
		return serviceObject.GetAll(start, pageLength, out count);		
	}
	
	#endregion
	
	#region GetPaged
	
	/// <summary>
	/// Gets a page of rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pageLength">Number of rows to return.</param>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query (Name='John Doe', Name='John Doe' AND Id='1', Name='John Doe' OR Id='1').</param>
	/// <param name="orderBy">Specifies the sort criteria for the rows in the DataSource (Name ASC; BirthDay DESC, Name ASC);</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <remarks></remarks>
	/// <returns>Returns a typed collection of HIVServices objects.</returns>
	[WebMethod(Description="Get all rows from the table s_Users.")]
	public InfoExpress.HIV.Domains.TList<SUsers> SUsersProvider_GetPaged(string whereClause, string orderBy, int start, int pageLength, out int count)
	{
		SUsersService serviceObject = new SUsersService();
		return serviceObject.GetPaged(whereClause, orderBy, start, pageLength, out count);
	}

	#endregion
		
	#region Get By Foreign Key Functions
#endregion
	
	#region Get By Index Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the PK_s_Users index.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="Id"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table s_Users filtered by the column Id that is part of the PK_s_Users index.")]
	public InfoExpress.HIV.Domains.SUsers SUsersProvider_GetById(System.Int32 _id, int start, int pageLength, out int count)
	{
		SUsersService serviceObject = new SUsersService();
		return serviceObject.GetById(_id, start, pageLength, out count);
	}
	

	#endregion Get By Index Functions
	
	#region Insert Methods
		
	/// <summary>
	/// 	Inserts an object into the datasource.
	/// </summary>	
	/// <remarks>After inserting into the datasource, the object will be returned
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a row in the table s_Users.")]
	public InfoExpress.HIV.Domains.SUsers SUsersProvider_Insert(InfoExpress.HIV.Domains.SUsers entity )
	{
		SUsersService serviceObject = new SUsersService();
		serviceObject.Insert(entity);
		return entity;		
	}
	
	/// <summary>
	/// Inserts a InfoExpress.HIV.Domains.TList<SUsers> object into the datasource using a transaction.
	/// </summary>
	/// <param name="entity">InfoExpress.HIV.Domains.TList<SUsers> object to insert.</param>
	/// <remarks>After inserting into the datasource, the InfoExpress.HIV.Domains.SUsers object will be updated
	/// to refelect any changes made by the datasource. (ie: identity or computed columns)
	/// </remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a Bulk set of rows into the table s_Users.")]
	public void SUsersProvider_BulkInsert(InfoExpress.HIV.Domains.TList<SUsers> entityList )
	{
		SUsersService serviceObject = new SUsersService();
		serviceObject.BulkInsert(entityList);
	}
	#endregion Insert Methods
			
	#region Update Methods
		
	/// <summary>
	/// 	Update an existing row in the datasource.
	/// </summary>
	/// <param name="entity"> object to update.</param>
	/// <remarks>After updating the datasource, the object will be updated
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Update a row in the table s_Users.")]
	public InfoExpress.HIV.Domains.SUsers SUsersProvider_Update(InfoExpress.HIV.Domains.SUsers entity)
	{
		SUsersService serviceObject = new SUsersService();
		serviceObject.Update(entity);
		return entity;
	}

	#endregion Update Methods

	#region Custom Methods
	
	
	#endregion

	#endregion s_Users

	#region ThayDoiPhacDo

	#region Get from  Many To Many Relationship Functions
	#endregion	
	
	#region Delete Functions
	
	/// <summary>
	/// 	Deletes a row from the DataSource.
	/// </summary>
	/// <param name="Id">. Primary Key.</param>	
	/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
	/// <param name="connectionString">Connection string to datasource.</param>
	/// <remarks>Deletes based on primary key(s).</remarks>
	/// <returns>Returns true if operation suceeded.</returns>
	[WebMethod(Description="Delete a row from the table ThayDoiPhacDo.")]
	public bool ThayDoiPhacDoProvider_Delete(System.Int32 _id)
	{
		ThayDoiPhacDoService serviceObject = new ThayDoiPhacDoService();
		return serviceObject.Delete(_id);
	}		
	
	#endregion
	
	#region Find Functions
	
	/// <summary>
	/// 	Returns rows meeting the whereclause condition from the DataSource.
	/// </summary>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query.</param>
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table ThayDoiPhacDo with additional query text.")]
	public InfoExpress.HIV.Domains.TList<ThayDoiPhacDo> ThayDoiPhacDoProvider_Find(string whereClause, int start, int pageLength, out int count)
	{
		ThayDoiPhacDoService serviceObject = new ThayDoiPhacDoService();
		return serviceObject.Find(whereClause, start, pageLength, out count);
	}
	
	#endregion Find Functions
	
	
	#region GetAll Functions
		
	/// <summary>
	/// 	Gets All rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <returns>Returns a <s>DataSet</s>.</returns>
	[WebMethod(Description="Get all rows from the table ThayDoiPhacDo.")]
	public InfoExpress.HIV.Domains.TList<ThayDoiPhacDo> ThayDoiPhacDoProvider_GetAll(int start, int pageLength, out int count)
	{
		ThayDoiPhacDoService serviceObject = new ThayDoiPhacDoService();
		return serviceObject.GetAll(start, pageLength, out count);		
	}
	
	#endregion
	
	#region GetPaged
	
	/// <summary>
	/// Gets a page of rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pageLength">Number of rows to return.</param>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query (Name='John Doe', Name='John Doe' AND Id='1', Name='John Doe' OR Id='1').</param>
	/// <param name="orderBy">Specifies the sort criteria for the rows in the DataSource (Name ASC; BirthDay DESC, Name ASC);</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <remarks></remarks>
	/// <returns>Returns a typed collection of HIVServices objects.</returns>
	[WebMethod(Description="Get all rows from the table ThayDoiPhacDo.")]
	public InfoExpress.HIV.Domains.TList<ThayDoiPhacDo> ThayDoiPhacDoProvider_GetPaged(string whereClause, string orderBy, int start, int pageLength, out int count)
	{
		ThayDoiPhacDoService serviceObject = new ThayDoiPhacDoService();
		return serviceObject.GetPaged(whereClause, orderBy, start, pageLength, out count);
	}

	#endregion
		
	#region Get By Foreign Key Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the FK_ThayDoiPhacDo_BenhNhanDangKy key.
	///		FK_ThayDoiPhacDo_BenhNhanDangKy Description: 
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="BenhNhanId"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from ThayDoiPhacDo filtered by the BenhNhanId column.")]
	public InfoExpress.HIV.Domains.TList<ThayDoiPhacDo> ThayDoiPhacDoProvider_GetByBenhNhanId(System.Int32 _benhNhanId, int start, int pageLength, out int count)
	{
		ThayDoiPhacDoService serviceObject = new ThayDoiPhacDoService();
		return serviceObject.GetByBenhNhanId(_benhNhanId, start, pageLength, out count);
	}
	
#endregion
	
	#region Get By Index Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the PK_ThayDoiPhacDo index.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="Id"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table ThayDoiPhacDo filtered by the column Id that is part of the PK_ThayDoiPhacDo index.")]
	public InfoExpress.HIV.Domains.ThayDoiPhacDo ThayDoiPhacDoProvider_GetById(System.Int32 _id, int start, int pageLength, out int count)
	{
		ThayDoiPhacDoService serviceObject = new ThayDoiPhacDoService();
		return serviceObject.GetById(_id, start, pageLength, out count);
	}
	

	#endregion Get By Index Functions
	
	#region Insert Methods
		
	/// <summary>
	/// 	Inserts an object into the datasource.
	/// </summary>	
	/// <remarks>After inserting into the datasource, the object will be returned
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a row in the table ThayDoiPhacDo.")]
	public InfoExpress.HIV.Domains.ThayDoiPhacDo ThayDoiPhacDoProvider_Insert(InfoExpress.HIV.Domains.ThayDoiPhacDo entity )
	{
		ThayDoiPhacDoService serviceObject = new ThayDoiPhacDoService();
		serviceObject.Insert(entity);
		return entity;		
	}
	
	/// <summary>
	/// Inserts a InfoExpress.HIV.Domains.TList<ThayDoiPhacDo> object into the datasource using a transaction.
	/// </summary>
	/// <param name="entity">InfoExpress.HIV.Domains.TList<ThayDoiPhacDo> object to insert.</param>
	/// <remarks>After inserting into the datasource, the InfoExpress.HIV.Domains.ThayDoiPhacDo object will be updated
	/// to refelect any changes made by the datasource. (ie: identity or computed columns)
	/// </remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a Bulk set of rows into the table ThayDoiPhacDo.")]
	public void ThayDoiPhacDoProvider_BulkInsert(InfoExpress.HIV.Domains.TList<ThayDoiPhacDo> entityList )
	{
		ThayDoiPhacDoService serviceObject = new ThayDoiPhacDoService();
		serviceObject.BulkInsert(entityList);
	}
	#endregion Insert Methods
			
	#region Update Methods
		
	/// <summary>
	/// 	Update an existing row in the datasource.
	/// </summary>
	/// <param name="entity"> object to update.</param>
	/// <remarks>After updating the datasource, the object will be updated
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Update a row in the table ThayDoiPhacDo.")]
	public InfoExpress.HIV.Domains.ThayDoiPhacDo ThayDoiPhacDoProvider_Update(InfoExpress.HIV.Domains.ThayDoiPhacDo entity)
	{
		ThayDoiPhacDoService serviceObject = new ThayDoiPhacDoService();
		serviceObject.Update(entity);
		return entity;
	}

	#endregion Update Methods

	#region Custom Methods
	
	/// <summary>
	///	This method wrap the _ThayDoiPhacDo_LayPhacDoCuoi stored procedure. 
	/// </summary>
	[WebMethod(Description="This method wrap the _ThayDoiPhacDo_LayPhacDoCuoi stored procedure.")]
	public DataSet ThayDoiPhacDoProvider_LayPhacDoCuoi(System.Int32? benhNhanId)//, int start, int pageLength)
	{
		ThayDoiPhacDoService serviceObject = new ThayDoiPhacDoService();
		
		    return  serviceObject.LayPhacDoCuoi(benhNhanId)/*, start, pageLength )*/;
	}
		
	/// <summary>
	///	This method wrap the _ThayDoiPhacDo_DsPhacDo stored procedure. 
	/// </summary>
	[WebMethod(Description="This method wrap the _ThayDoiPhacDo_DsPhacDo stored procedure.")]
	public DataSet ThayDoiPhacDoProvider_DsPhacDo(System.Int32? benhNhanId)//, int start, int pageLength)
	{
		ThayDoiPhacDoService serviceObject = new ThayDoiPhacDoService();
		
		    return  serviceObject.DsPhacDo(benhNhanId)/*, start, pageLength )*/;
	}
		
	
	#endregion

	#endregion ThayDoiPhacDo

	#region ThayDoiDieuTri

	#region Get from  Many To Many Relationship Functions
	#endregion	
	
	#region Delete Functions
	
	/// <summary>
	/// 	Deletes a row from the DataSource.
	/// </summary>
	/// <param name="Id">. Primary Key.</param>	
	/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
	/// <param name="connectionString">Connection string to datasource.</param>
	/// <remarks>Deletes based on primary key(s).</remarks>
	/// <returns>Returns true if operation suceeded.</returns>
	[WebMethod(Description="Delete a row from the table ThayDoiDieuTri.")]
	public bool ThayDoiDieuTriProvider_Delete(System.Int32 _id)
	{
		ThayDoiDieuTriService serviceObject = new ThayDoiDieuTriService();
		return serviceObject.Delete(_id);
	}		
	
	#endregion
	
	#region Find Functions
	
	/// <summary>
	/// 	Returns rows meeting the whereclause condition from the DataSource.
	/// </summary>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query.</param>
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table ThayDoiDieuTri with additional query text.")]
	public InfoExpress.HIV.Domains.TList<ThayDoiDieuTri> ThayDoiDieuTriProvider_Find(string whereClause, int start, int pageLength, out int count)
	{
		ThayDoiDieuTriService serviceObject = new ThayDoiDieuTriService();
		return serviceObject.Find(whereClause, start, pageLength, out count);
	}
	
	#endregion Find Functions
	
	
	#region GetAll Functions
		
	/// <summary>
	/// 	Gets All rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <returns>Returns a <s>DataSet</s>.</returns>
	[WebMethod(Description="Get all rows from the table ThayDoiDieuTri.")]
	public InfoExpress.HIV.Domains.TList<ThayDoiDieuTri> ThayDoiDieuTriProvider_GetAll(int start, int pageLength, out int count)
	{
		ThayDoiDieuTriService serviceObject = new ThayDoiDieuTriService();
		return serviceObject.GetAll(start, pageLength, out count);		
	}
	
	#endregion
	
	#region GetPaged
	
	/// <summary>
	/// Gets a page of rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pageLength">Number of rows to return.</param>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query (Name='John Doe', Name='John Doe' AND Id='1', Name='John Doe' OR Id='1').</param>
	/// <param name="orderBy">Specifies the sort criteria for the rows in the DataSource (Name ASC; BirthDay DESC, Name ASC);</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <remarks></remarks>
	/// <returns>Returns a typed collection of HIVServices objects.</returns>
	[WebMethod(Description="Get all rows from the table ThayDoiDieuTri.")]
	public InfoExpress.HIV.Domains.TList<ThayDoiDieuTri> ThayDoiDieuTriProvider_GetPaged(string whereClause, string orderBy, int start, int pageLength, out int count)
	{
		ThayDoiDieuTriService serviceObject = new ThayDoiDieuTriService();
		return serviceObject.GetPaged(whereClause, orderBy, start, pageLength, out count);
	}

	#endregion
		
	#region Get By Foreign Key Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the FK_ThayDoiDieuTri_BenhNhanDangKy key.
	///		FK_ThayDoiDieuTri_BenhNhanDangKy Description: 
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="BenhNhanId"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from ThayDoiDieuTri filtered by the BenhNhanId column.")]
	public InfoExpress.HIV.Domains.TList<ThayDoiDieuTri> ThayDoiDieuTriProvider_GetByBenhNhanId(System.Int32 _benhNhanId, int start, int pageLength, out int count)
	{
		ThayDoiDieuTriService serviceObject = new ThayDoiDieuTriService();
		return serviceObject.GetByBenhNhanId(_benhNhanId, start, pageLength, out count);
	}
	
#endregion
	
	#region Get By Index Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the PK_ThayDoiDieuTri index.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="Id"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table ThayDoiDieuTri filtered by the column Id that is part of the PK_ThayDoiDieuTri index.")]
	public InfoExpress.HIV.Domains.ThayDoiDieuTri ThayDoiDieuTriProvider_GetById(System.Int32 _id, int start, int pageLength, out int count)
	{
		ThayDoiDieuTriService serviceObject = new ThayDoiDieuTriService();
		return serviceObject.GetById(_id, start, pageLength, out count);
	}
	

	#endregion Get By Index Functions
	
	#region Insert Methods
		
	/// <summary>
	/// 	Inserts an object into the datasource.
	/// </summary>	
	/// <remarks>After inserting into the datasource, the object will be returned
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a row in the table ThayDoiDieuTri.")]
	public InfoExpress.HIV.Domains.ThayDoiDieuTri ThayDoiDieuTriProvider_Insert(InfoExpress.HIV.Domains.ThayDoiDieuTri entity )
	{
		ThayDoiDieuTriService serviceObject = new ThayDoiDieuTriService();
		serviceObject.Insert(entity);
		return entity;		
	}
	
	/// <summary>
	/// Inserts a InfoExpress.HIV.Domains.TList<ThayDoiDieuTri> object into the datasource using a transaction.
	/// </summary>
	/// <param name="entity">InfoExpress.HIV.Domains.TList<ThayDoiDieuTri> object to insert.</param>
	/// <remarks>After inserting into the datasource, the InfoExpress.HIV.Domains.ThayDoiDieuTri object will be updated
	/// to refelect any changes made by the datasource. (ie: identity or computed columns)
	/// </remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a Bulk set of rows into the table ThayDoiDieuTri.")]
	public void ThayDoiDieuTriProvider_BulkInsert(InfoExpress.HIV.Domains.TList<ThayDoiDieuTri> entityList )
	{
		ThayDoiDieuTriService serviceObject = new ThayDoiDieuTriService();
		serviceObject.BulkInsert(entityList);
	}
	#endregion Insert Methods
			
	#region Update Methods
		
	/// <summary>
	/// 	Update an existing row in the datasource.
	/// </summary>
	/// <param name="entity"> object to update.</param>
	/// <remarks>After updating the datasource, the object will be updated
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Update a row in the table ThayDoiDieuTri.")]
	public InfoExpress.HIV.Domains.ThayDoiDieuTri ThayDoiDieuTriProvider_Update(InfoExpress.HIV.Domains.ThayDoiDieuTri entity)
	{
		ThayDoiDieuTriService serviceObject = new ThayDoiDieuTriService();
		serviceObject.Update(entity);
		return entity;
	}

	#endregion Update Methods

	#region Custom Methods
	
	/// <summary>
	///	This method wrap the _ThayDoiDieuTri_LayDieuTriLanCuoi stored procedure. 
	/// </summary>
	[WebMethod(Description="This method wrap the _ThayDoiDieuTri_LayDieuTriLanCuoi stored procedure.")]
	public DataSet ThayDoiDieuTriProvider_LayDieuTriLanCuoi(System.Int32? benhNhanId)//, int start, int pageLength)
	{
		ThayDoiDieuTriService serviceObject = new ThayDoiDieuTriService();
		
		    return  serviceObject.LayDieuTriLanCuoi(benhNhanId)/*, start, pageLength )*/;
	}
		
	
	#endregion

	#endregion ThayDoiDieuTri

	#region ut_phacdo

	#region Get from  Many To Many Relationship Functions
	#endregion	
	
	#region Delete Functions
	
	/// <summary>
	/// 	Deletes a row from the DataSource.
	/// </summary>
	/// <param name="Id">. Primary Key.</param>	
	/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
	/// <param name="connectionString">Connection string to datasource.</param>
	/// <remarks>Deletes based on primary key(s).</remarks>
	/// <returns>Returns true if operation suceeded.</returns>
	[WebMethod(Description="Delete a row from the table ut_phacdo.")]
	public bool UtPhacdoProvider_Delete(System.Int32 _id)
	{
		UtPhacdoService serviceObject = new UtPhacdoService();
		return serviceObject.Delete(_id);
	}		
	
	#endregion
	
	#region Find Functions
	
	/// <summary>
	/// 	Returns rows meeting the whereclause condition from the DataSource.
	/// </summary>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query.</param>
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table ut_phacdo with additional query text.")]
	public InfoExpress.HIV.Domains.TList<UtPhacdo> UtPhacdoProvider_Find(string whereClause, int start, int pageLength, out int count)
	{
		UtPhacdoService serviceObject = new UtPhacdoService();
		return serviceObject.Find(whereClause, start, pageLength, out count);
	}
	
	#endregion Find Functions
	
	
	#region GetAll Functions
		
	/// <summary>
	/// 	Gets All rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <returns>Returns a <s>DataSet</s>.</returns>
	[WebMethod(Description="Get all rows from the table ut_phacdo.")]
	public InfoExpress.HIV.Domains.TList<UtPhacdo> UtPhacdoProvider_GetAll(int start, int pageLength, out int count)
	{
		UtPhacdoService serviceObject = new UtPhacdoService();
		return serviceObject.GetAll(start, pageLength, out count);		
	}
	
	#endregion
	
	#region GetPaged
	
	/// <summary>
	/// Gets a page of rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pageLength">Number of rows to return.</param>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query (Name='John Doe', Name='John Doe' AND Id='1', Name='John Doe' OR Id='1').</param>
	/// <param name="orderBy">Specifies the sort criteria for the rows in the DataSource (Name ASC; BirthDay DESC, Name ASC);</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <remarks></remarks>
	/// <returns>Returns a typed collection of HIVServices objects.</returns>
	[WebMethod(Description="Get all rows from the table ut_phacdo.")]
	public InfoExpress.HIV.Domains.TList<UtPhacdo> UtPhacdoProvider_GetPaged(string whereClause, string orderBy, int start, int pageLength, out int count)
	{
		UtPhacdoService serviceObject = new UtPhacdoService();
		return serviceObject.GetPaged(whereClause, orderBy, start, pageLength, out count);
	}

	#endregion
		
	#region Get By Foreign Key Functions
#endregion
	
	#region Get By Index Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the PK_ut_phacdo index.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="Id"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table ut_phacdo filtered by the column Id that is part of the PK_ut_phacdo index.")]
	public InfoExpress.HIV.Domains.UtPhacdo UtPhacdoProvider_GetById(System.Int32 _id, int start, int pageLength, out int count)
	{
		UtPhacdoService serviceObject = new UtPhacdoService();
		return serviceObject.GetById(_id, start, pageLength, out count);
	}
	

	#endregion Get By Index Functions
	
	#region Insert Methods
		
	/// <summary>
	/// 	Inserts an object into the datasource.
	/// </summary>	
	/// <remarks>After inserting into the datasource, the object will be returned
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a row in the table ut_phacdo.")]
	public InfoExpress.HIV.Domains.UtPhacdo UtPhacdoProvider_Insert(InfoExpress.HIV.Domains.UtPhacdo entity )
	{
		UtPhacdoService serviceObject = new UtPhacdoService();
		serviceObject.Insert(entity);
		return entity;		
	}
	
	/// <summary>
	/// Inserts a InfoExpress.HIV.Domains.TList<UtPhacdo> object into the datasource using a transaction.
	/// </summary>
	/// <param name="entity">InfoExpress.HIV.Domains.TList<UtPhacdo> object to insert.</param>
	/// <remarks>After inserting into the datasource, the InfoExpress.HIV.Domains.UtPhacdo object will be updated
	/// to refelect any changes made by the datasource. (ie: identity or computed columns)
	/// </remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a Bulk set of rows into the table ut_phacdo.")]
	public void UtPhacdoProvider_BulkInsert(InfoExpress.HIV.Domains.TList<UtPhacdo> entityList )
	{
		UtPhacdoService serviceObject = new UtPhacdoService();
		serviceObject.BulkInsert(entityList);
	}
	#endregion Insert Methods
			
	#region Update Methods
		
	/// <summary>
	/// 	Update an existing row in the datasource.
	/// </summary>
	/// <param name="entity"> object to update.</param>
	/// <remarks>After updating the datasource, the object will be updated
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Update a row in the table ut_phacdo.")]
	public InfoExpress.HIV.Domains.UtPhacdo UtPhacdoProvider_Update(InfoExpress.HIV.Domains.UtPhacdo entity)
	{
		UtPhacdoService serviceObject = new UtPhacdoService();
		serviceObject.Update(entity);
		return entity;
	}

	#endregion Update Methods

	#region Custom Methods
	
	
	#endregion

	#endregion ut_phacdo

	#region ut_dmdv

	#region Get from  Many To Many Relationship Functions
	#endregion	
	
	#region Delete Functions
	
	/// <summary>
	/// 	Deletes a row from the DataSource.
	/// </summary>
	/// <param name="Id">. Primary Key.</param>	
	/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
	/// <param name="connectionString">Connection string to datasource.</param>
	/// <remarks>Deletes based on primary key(s).</remarks>
	/// <returns>Returns true if operation suceeded.</returns>
	[WebMethod(Description="Delete a row from the table ut_dmdv.")]
	public bool UtDmdvProvider_Delete(System.Int32 _id)
	{
		UtDmdvService serviceObject = new UtDmdvService();
		return serviceObject.Delete(_id);
	}		
	
	#endregion
	
	#region Find Functions
	
	/// <summary>
	/// 	Returns rows meeting the whereclause condition from the DataSource.
	/// </summary>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query.</param>
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table ut_dmdv with additional query text.")]
	public InfoExpress.HIV.Domains.TList<UtDmdv> UtDmdvProvider_Find(string whereClause, int start, int pageLength, out int count)
	{
		UtDmdvService serviceObject = new UtDmdvService();
		return serviceObject.Find(whereClause, start, pageLength, out count);
	}
	
	#endregion Find Functions
	
	
	#region GetAll Functions
		
	/// <summary>
	/// 	Gets All rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <returns>Returns a <s>DataSet</s>.</returns>
	[WebMethod(Description="Get all rows from the table ut_dmdv.")]
	public InfoExpress.HIV.Domains.TList<UtDmdv> UtDmdvProvider_GetAll(int start, int pageLength, out int count)
	{
		UtDmdvService serviceObject = new UtDmdvService();
		return serviceObject.GetAll(start, pageLength, out count);		
	}
	
	#endregion
	
	#region GetPaged
	
	/// <summary>
	/// Gets a page of rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pageLength">Number of rows to return.</param>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query (Name='John Doe', Name='John Doe' AND Id='1', Name='John Doe' OR Id='1').</param>
	/// <param name="orderBy">Specifies the sort criteria for the rows in the DataSource (Name ASC; BirthDay DESC, Name ASC);</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <remarks></remarks>
	/// <returns>Returns a typed collection of HIVServices objects.</returns>
	[WebMethod(Description="Get all rows from the table ut_dmdv.")]
	public InfoExpress.HIV.Domains.TList<UtDmdv> UtDmdvProvider_GetPaged(string whereClause, string orderBy, int start, int pageLength, out int count)
	{
		UtDmdvService serviceObject = new UtDmdvService();
		return serviceObject.GetPaged(whereClause, orderBy, start, pageLength, out count);
	}

	#endregion
		
	#region Get By Foreign Key Functions
#endregion
	
	#region Get By Index Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the PK_ut_dmdv index.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="Id"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table ut_dmdv filtered by the column Id that is part of the PK_ut_dmdv index.")]
	public InfoExpress.HIV.Domains.UtDmdv UtDmdvProvider_GetById(System.Int32 _id, int start, int pageLength, out int count)
	{
		UtDmdvService serviceObject = new UtDmdvService();
		return serviceObject.GetById(_id, start, pageLength, out count);
	}
	

	#endregion Get By Index Functions
	
	#region Insert Methods
		
	/// <summary>
	/// 	Inserts an object into the datasource.
	/// </summary>	
	/// <remarks>After inserting into the datasource, the object will be returned
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a row in the table ut_dmdv.")]
	public InfoExpress.HIV.Domains.UtDmdv UtDmdvProvider_Insert(InfoExpress.HIV.Domains.UtDmdv entity )
	{
		UtDmdvService serviceObject = new UtDmdvService();
		serviceObject.Insert(entity);
		return entity;		
	}
	
	/// <summary>
	/// Inserts a InfoExpress.HIV.Domains.TList<UtDmdv> object into the datasource using a transaction.
	/// </summary>
	/// <param name="entity">InfoExpress.HIV.Domains.TList<UtDmdv> object to insert.</param>
	/// <remarks>After inserting into the datasource, the InfoExpress.HIV.Domains.UtDmdv object will be updated
	/// to refelect any changes made by the datasource. (ie: identity or computed columns)
	/// </remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a Bulk set of rows into the table ut_dmdv.")]
	public void UtDmdvProvider_BulkInsert(InfoExpress.HIV.Domains.TList<UtDmdv> entityList )
	{
		UtDmdvService serviceObject = new UtDmdvService();
		serviceObject.BulkInsert(entityList);
	}
	#endregion Insert Methods
			
	#region Update Methods
		
	/// <summary>
	/// 	Update an existing row in the datasource.
	/// </summary>
	/// <param name="entity"> object to update.</param>
	/// <remarks>After updating the datasource, the object will be updated
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Update a row in the table ut_dmdv.")]
	public InfoExpress.HIV.Domains.UtDmdv UtDmdvProvider_Update(InfoExpress.HIV.Domains.UtDmdv entity)
	{
		UtDmdvService serviceObject = new UtDmdvService();
		serviceObject.Update(entity);
		return entity;
	}

	#endregion Update Methods

	#region Custom Methods
	
	
	#endregion

	#endregion ut_dmdv

	#region ut_dmxn

	#region Get from  Many To Many Relationship Functions
	#endregion	
	
	#region Delete Functions
	
	/// <summary>
	/// 	Deletes a row from the DataSource.
	/// </summary>
	/// <param name="Id">. Primary Key.</param>	
	/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
	/// <param name="connectionString">Connection string to datasource.</param>
	/// <remarks>Deletes based on primary key(s).</remarks>
	/// <returns>Returns true if operation suceeded.</returns>
	[WebMethod(Description="Delete a row from the table ut_dmxn.")]
	public bool UtDmxnProvider_Delete(System.Int32 _id)
	{
		UtDmxnService serviceObject = new UtDmxnService();
		return serviceObject.Delete(_id);
	}		
	
	#endregion
	
	#region Find Functions
	
	/// <summary>
	/// 	Returns rows meeting the whereclause condition from the DataSource.
	/// </summary>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query.</param>
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table ut_dmxn with additional query text.")]
	public InfoExpress.HIV.Domains.TList<UtDmxn> UtDmxnProvider_Find(string whereClause, int start, int pageLength, out int count)
	{
		UtDmxnService serviceObject = new UtDmxnService();
		return serviceObject.Find(whereClause, start, pageLength, out count);
	}
	
	#endregion Find Functions
	
	
	#region GetAll Functions
		
	/// <summary>
	/// 	Gets All rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <returns>Returns a <s>DataSet</s>.</returns>
	[WebMethod(Description="Get all rows from the table ut_dmxn.")]
	public InfoExpress.HIV.Domains.TList<UtDmxn> UtDmxnProvider_GetAll(int start, int pageLength, out int count)
	{
		UtDmxnService serviceObject = new UtDmxnService();
		return serviceObject.GetAll(start, pageLength, out count);		
	}
	
	#endregion
	
	#region GetPaged
	
	/// <summary>
	/// Gets a page of rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pageLength">Number of rows to return.</param>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query (Name='John Doe', Name='John Doe' AND Id='1', Name='John Doe' OR Id='1').</param>
	/// <param name="orderBy">Specifies the sort criteria for the rows in the DataSource (Name ASC; BirthDay DESC, Name ASC);</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <remarks></remarks>
	/// <returns>Returns a typed collection of HIVServices objects.</returns>
	[WebMethod(Description="Get all rows from the table ut_dmxn.")]
	public InfoExpress.HIV.Domains.TList<UtDmxn> UtDmxnProvider_GetPaged(string whereClause, string orderBy, int start, int pageLength, out int count)
	{
		UtDmxnService serviceObject = new UtDmxnService();
		return serviceObject.GetPaged(whereClause, orderBy, start, pageLength, out count);
	}

	#endregion
		
	#region Get By Foreign Key Functions
#endregion
	
	#region Get By Index Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the PK_ut_dmxn index.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="Id"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table ut_dmxn filtered by the column Id that is part of the PK_ut_dmxn index.")]
	public InfoExpress.HIV.Domains.UtDmxn UtDmxnProvider_GetById(System.Int32 _id, int start, int pageLength, out int count)
	{
		UtDmxnService serviceObject = new UtDmxnService();
		return serviceObject.GetById(_id, start, pageLength, out count);
	}
	

	#endregion Get By Index Functions
	
	#region Insert Methods
		
	/// <summary>
	/// 	Inserts an object into the datasource.
	/// </summary>	
	/// <remarks>After inserting into the datasource, the object will be returned
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a row in the table ut_dmxn.")]
	public InfoExpress.HIV.Domains.UtDmxn UtDmxnProvider_Insert(InfoExpress.HIV.Domains.UtDmxn entity )
	{
		UtDmxnService serviceObject = new UtDmxnService();
		serviceObject.Insert(entity);
		return entity;		
	}
	
	/// <summary>
	/// Inserts a InfoExpress.HIV.Domains.TList<UtDmxn> object into the datasource using a transaction.
	/// </summary>
	/// <param name="entity">InfoExpress.HIV.Domains.TList<UtDmxn> object to insert.</param>
	/// <remarks>After inserting into the datasource, the InfoExpress.HIV.Domains.UtDmxn object will be updated
	/// to refelect any changes made by the datasource. (ie: identity or computed columns)
	/// </remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a Bulk set of rows into the table ut_dmxn.")]
	public void UtDmxnProvider_BulkInsert(InfoExpress.HIV.Domains.TList<UtDmxn> entityList )
	{
		UtDmxnService serviceObject = new UtDmxnService();
		serviceObject.BulkInsert(entityList);
	}
	#endregion Insert Methods
			
	#region Update Methods
		
	/// <summary>
	/// 	Update an existing row in the datasource.
	/// </summary>
	/// <param name="entity"> object to update.</param>
	/// <remarks>After updating the datasource, the object will be updated
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Update a row in the table ut_dmxn.")]
	public InfoExpress.HIV.Domains.UtDmxn UtDmxnProvider_Update(InfoExpress.HIV.Domains.UtDmxn entity)
	{
		UtDmxnService serviceObject = new UtDmxnService();
		serviceObject.Update(entity);
		return entity;
	}

	#endregion Update Methods

	#region Custom Methods
	
	
	#endregion

	#endregion ut_dmxn

	#region PhanLoaiBenhNhan

	#region Get from  Many To Many Relationship Functions
	#endregion	
	
	#region Delete Functions
	
	/// <summary>
	/// 	Deletes a row from the DataSource.
	/// </summary>
	/// <param name="Id">. Primary Key.</param>	
	/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
	/// <param name="connectionString">Connection string to datasource.</param>
	/// <remarks>Deletes based on primary key(s).</remarks>
	/// <returns>Returns true if operation suceeded.</returns>
	[WebMethod(Description="Delete a row from the table PhanLoaiBenhNhan.")]
	public bool PhanLoaiBenhNhanProvider_Delete(System.Int32 _id)
	{
		PhanLoaiBenhNhanService serviceObject = new PhanLoaiBenhNhanService();
		return serviceObject.Delete(_id);
	}		
	
	#endregion
	
	#region Find Functions
	
	/// <summary>
	/// 	Returns rows meeting the whereclause condition from the DataSource.
	/// </summary>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query.</param>
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table PhanLoaiBenhNhan with additional query text.")]
	public InfoExpress.HIV.Domains.TList<PhanLoaiBenhNhan> PhanLoaiBenhNhanProvider_Find(string whereClause, int start, int pageLength, out int count)
	{
		PhanLoaiBenhNhanService serviceObject = new PhanLoaiBenhNhanService();
		return serviceObject.Find(whereClause, start, pageLength, out count);
	}
	
	#endregion Find Functions
	
	
	#region GetAll Functions
		
	/// <summary>
	/// 	Gets All rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <returns>Returns a <s>DataSet</s>.</returns>
	[WebMethod(Description="Get all rows from the table PhanLoaiBenhNhan.")]
	public InfoExpress.HIV.Domains.TList<PhanLoaiBenhNhan> PhanLoaiBenhNhanProvider_GetAll(int start, int pageLength, out int count)
	{
		PhanLoaiBenhNhanService serviceObject = new PhanLoaiBenhNhanService();
		return serviceObject.GetAll(start, pageLength, out count);		
	}
	
	#endregion
	
	#region GetPaged
	
	/// <summary>
	/// Gets a page of rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pageLength">Number of rows to return.</param>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query (Name='John Doe', Name='John Doe' AND Id='1', Name='John Doe' OR Id='1').</param>
	/// <param name="orderBy">Specifies the sort criteria for the rows in the DataSource (Name ASC; BirthDay DESC, Name ASC);</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <remarks></remarks>
	/// <returns>Returns a typed collection of HIVServices objects.</returns>
	[WebMethod(Description="Get all rows from the table PhanLoaiBenhNhan.")]
	public InfoExpress.HIV.Domains.TList<PhanLoaiBenhNhan> PhanLoaiBenhNhanProvider_GetPaged(string whereClause, string orderBy, int start, int pageLength, out int count)
	{
		PhanLoaiBenhNhanService serviceObject = new PhanLoaiBenhNhanService();
		return serviceObject.GetPaged(whereClause, orderBy, start, pageLength, out count);
	}

	#endregion
		
	#region Get By Foreign Key Functions
#endregion
	
	#region Get By Index Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the PK_PhanLoaiBenhNhan index.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="Id"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table PhanLoaiBenhNhan filtered by the column Id that is part of the PK_PhanLoaiBenhNhan index.")]
	public InfoExpress.HIV.Domains.PhanLoaiBenhNhan PhanLoaiBenhNhanProvider_GetById(System.Int32 _id, int start, int pageLength, out int count)
	{
		PhanLoaiBenhNhanService serviceObject = new PhanLoaiBenhNhanService();
		return serviceObject.GetById(_id, start, pageLength, out count);
	}
	

	#endregion Get By Index Functions
	
	#region Insert Methods
		
	/// <summary>
	/// 	Inserts an object into the datasource.
	/// </summary>	
	/// <remarks>After inserting into the datasource, the object will be returned
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a row in the table PhanLoaiBenhNhan.")]
	public InfoExpress.HIV.Domains.PhanLoaiBenhNhan PhanLoaiBenhNhanProvider_Insert(InfoExpress.HIV.Domains.PhanLoaiBenhNhan entity )
	{
		PhanLoaiBenhNhanService serviceObject = new PhanLoaiBenhNhanService();
		serviceObject.Insert(entity);
		return entity;		
	}
	
	/// <summary>
	/// Inserts a InfoExpress.HIV.Domains.TList<PhanLoaiBenhNhan> object into the datasource using a transaction.
	/// </summary>
	/// <param name="entity">InfoExpress.HIV.Domains.TList<PhanLoaiBenhNhan> object to insert.</param>
	/// <remarks>After inserting into the datasource, the InfoExpress.HIV.Domains.PhanLoaiBenhNhan object will be updated
	/// to refelect any changes made by the datasource. (ie: identity or computed columns)
	/// </remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a Bulk set of rows into the table PhanLoaiBenhNhan.")]
	public void PhanLoaiBenhNhanProvider_BulkInsert(InfoExpress.HIV.Domains.TList<PhanLoaiBenhNhan> entityList )
	{
		PhanLoaiBenhNhanService serviceObject = new PhanLoaiBenhNhanService();
		serviceObject.BulkInsert(entityList);
	}
	#endregion Insert Methods
			
	#region Update Methods
		
	/// <summary>
	/// 	Update an existing row in the datasource.
	/// </summary>
	/// <param name="entity"> object to update.</param>
	/// <remarks>After updating the datasource, the object will be updated
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Update a row in the table PhanLoaiBenhNhan.")]
	public InfoExpress.HIV.Domains.PhanLoaiBenhNhan PhanLoaiBenhNhanProvider_Update(InfoExpress.HIV.Domains.PhanLoaiBenhNhan entity)
	{
		PhanLoaiBenhNhanService serviceObject = new PhanLoaiBenhNhanService();
		serviceObject.Update(entity);
		return entity;
	}

	#endregion Update Methods

	#region Custom Methods
	
	
	#endregion

	#endregion PhanLoaiBenhNhan

	#region ut_dmuser

	#region Get from  Many To Many Relationship Functions
	#endregion	
	
	#region Delete Functions
	
	/// <summary>
	/// 	Deletes a row from the DataSource.
	/// </summary>
	/// <param name="Id">. Primary Key.</param>	
	/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
	/// <param name="connectionString">Connection string to datasource.</param>
	/// <remarks>Deletes based on primary key(s).</remarks>
	/// <returns>Returns true if operation suceeded.</returns>
	[WebMethod(Description="Delete a row from the table ut_dmuser.")]
	public bool UtDmuserProvider_Delete(System.Int32 _id)
	{
		UtDmuserService serviceObject = new UtDmuserService();
		return serviceObject.Delete(_id);
	}		
	
	#endregion
	
	#region Find Functions
	
	/// <summary>
	/// 	Returns rows meeting the whereclause condition from the DataSource.
	/// </summary>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query.</param>
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table ut_dmuser with additional query text.")]
	public InfoExpress.HIV.Domains.TList<UtDmuser> UtDmuserProvider_Find(string whereClause, int start, int pageLength, out int count)
	{
		UtDmuserService serviceObject = new UtDmuserService();
		return serviceObject.Find(whereClause, start, pageLength, out count);
	}
	
	#endregion Find Functions
	
	
	#region GetAll Functions
		
	/// <summary>
	/// 	Gets All rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <returns>Returns a <s>DataSet</s>.</returns>
	[WebMethod(Description="Get all rows from the table ut_dmuser.")]
	public InfoExpress.HIV.Domains.TList<UtDmuser> UtDmuserProvider_GetAll(int start, int pageLength, out int count)
	{
		UtDmuserService serviceObject = new UtDmuserService();
		return serviceObject.GetAll(start, pageLength, out count);		
	}
	
	#endregion
	
	#region GetPaged
	
	/// <summary>
	/// Gets a page of rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pageLength">Number of rows to return.</param>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query (Name='John Doe', Name='John Doe' AND Id='1', Name='John Doe' OR Id='1').</param>
	/// <param name="orderBy">Specifies the sort criteria for the rows in the DataSource (Name ASC; BirthDay DESC, Name ASC);</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <remarks></remarks>
	/// <returns>Returns a typed collection of HIVServices objects.</returns>
	[WebMethod(Description="Get all rows from the table ut_dmuser.")]
	public InfoExpress.HIV.Domains.TList<UtDmuser> UtDmuserProvider_GetPaged(string whereClause, string orderBy, int start, int pageLength, out int count)
	{
		UtDmuserService serviceObject = new UtDmuserService();
		return serviceObject.GetPaged(whereClause, orderBy, start, pageLength, out count);
	}

	#endregion
		
	#region Get By Foreign Key Functions
#endregion
	
	#region Get By Index Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the PK_ut_dmuser index.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="Id"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table ut_dmuser filtered by the column Id that is part of the PK_ut_dmuser index.")]
	public InfoExpress.HIV.Domains.UtDmuser UtDmuserProvider_GetById(System.Int32 _id, int start, int pageLength, out int count)
	{
		UtDmuserService serviceObject = new UtDmuserService();
		return serviceObject.GetById(_id, start, pageLength, out count);
	}
	

	#endregion Get By Index Functions
	
	#region Insert Methods
		
	/// <summary>
	/// 	Inserts an object into the datasource.
	/// </summary>	
	/// <remarks>After inserting into the datasource, the object will be returned
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a row in the table ut_dmuser.")]
	public InfoExpress.HIV.Domains.UtDmuser UtDmuserProvider_Insert(InfoExpress.HIV.Domains.UtDmuser entity )
	{
		UtDmuserService serviceObject = new UtDmuserService();
		serviceObject.Insert(entity);
		return entity;		
	}
	
	/// <summary>
	/// Inserts a InfoExpress.HIV.Domains.TList<UtDmuser> object into the datasource using a transaction.
	/// </summary>
	/// <param name="entity">InfoExpress.HIV.Domains.TList<UtDmuser> object to insert.</param>
	/// <remarks>After inserting into the datasource, the InfoExpress.HIV.Domains.UtDmuser object will be updated
	/// to refelect any changes made by the datasource. (ie: identity or computed columns)
	/// </remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a Bulk set of rows into the table ut_dmuser.")]
	public void UtDmuserProvider_BulkInsert(InfoExpress.HIV.Domains.TList<UtDmuser> entityList )
	{
		UtDmuserService serviceObject = new UtDmuserService();
		serviceObject.BulkInsert(entityList);
	}
	#endregion Insert Methods
			
	#region Update Methods
		
	/// <summary>
	/// 	Update an existing row in the datasource.
	/// </summary>
	/// <param name="entity"> object to update.</param>
	/// <remarks>After updating the datasource, the object will be updated
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Update a row in the table ut_dmuser.")]
	public InfoExpress.HIV.Domains.UtDmuser UtDmuserProvider_Update(InfoExpress.HIV.Domains.UtDmuser entity)
	{
		UtDmuserService serviceObject = new UtDmuserService();
		serviceObject.Update(entity);
		return entity;
	}

	#endregion Update Methods

	#region Custom Methods
	
	
	#endregion

	#endregion ut_dmuser

	#region Loai

	#region Get from  Many To Many Relationship Functions
	#endregion	
	
	#region Delete Functions
	
	/// <summary>
	/// 	Deletes a row from the DataSource.
	/// </summary>
	/// <param name="Id">. Primary Key.</param>	
	/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
	/// <param name="connectionString">Connection string to datasource.</param>
	/// <remarks>Deletes based on primary key(s).</remarks>
	/// <returns>Returns true if operation suceeded.</returns>
	[WebMethod(Description="Delete a row from the table Loai.")]
	public bool LoaiProvider_Delete(System.Int32 _id)
	{
		LoaiService serviceObject = new LoaiService();
		return serviceObject.Delete(_id);
	}		
	
	#endregion
	
	#region Find Functions
	
	/// <summary>
	/// 	Returns rows meeting the whereclause condition from the DataSource.
	/// </summary>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query.</param>
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table Loai with additional query text.")]
	public InfoExpress.HIV.Domains.TList<Loai> LoaiProvider_Find(string whereClause, int start, int pageLength, out int count)
	{
		LoaiService serviceObject = new LoaiService();
		return serviceObject.Find(whereClause, start, pageLength, out count);
	}
	
	#endregion Find Functions
	
	
	#region GetAll Functions
		
	/// <summary>
	/// 	Gets All rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <returns>Returns a <s>DataSet</s>.</returns>
	[WebMethod(Description="Get all rows from the table Loai.")]
	public InfoExpress.HIV.Domains.TList<Loai> LoaiProvider_GetAll(int start, int pageLength, out int count)
	{
		LoaiService serviceObject = new LoaiService();
		return serviceObject.GetAll(start, pageLength, out count);		
	}
	
	#endregion
	
	#region GetPaged
	
	/// <summary>
	/// Gets a page of rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pageLength">Number of rows to return.</param>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query (Name='John Doe', Name='John Doe' AND Id='1', Name='John Doe' OR Id='1').</param>
	/// <param name="orderBy">Specifies the sort criteria for the rows in the DataSource (Name ASC; BirthDay DESC, Name ASC);</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <remarks></remarks>
	/// <returns>Returns a typed collection of HIVServices objects.</returns>
	[WebMethod(Description="Get all rows from the table Loai.")]
	public InfoExpress.HIV.Domains.TList<Loai> LoaiProvider_GetPaged(string whereClause, string orderBy, int start, int pageLength, out int count)
	{
		LoaiService serviceObject = new LoaiService();
		return serviceObject.GetPaged(whereClause, orderBy, start, pageLength, out count);
	}

	#endregion
		
	#region Get By Foreign Key Functions
#endregion
	
	#region Get By Index Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the PK_PhanLoai index.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="Id"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table Loai filtered by the column Id that is part of the PK_PhanLoai index.")]
	public InfoExpress.HIV.Domains.Loai LoaiProvider_GetById(System.Int32 _id, int start, int pageLength, out int count)
	{
		LoaiService serviceObject = new LoaiService();
		return serviceObject.GetById(_id, start, pageLength, out count);
	}
	

	
	/// <summary>
	/// 	Gets rows from the datasource based on the CK_PhanLoai_TenLoai index.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="TenLoai"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table Loai filtered by the column TenLoai that is part of the CK_PhanLoai_TenLoai index.")]
	public InfoExpress.HIV.Domains.Loai LoaiProvider_GetByTenLoai(System.String _tenLoai, int start, int pageLength, out int count)
	{
		LoaiService serviceObject = new LoaiService();
		return serviceObject.GetByTenLoai(_tenLoai, start, pageLength, out count);
	}
	

	#endregion Get By Index Functions
	
	#region Insert Methods
		
	/// <summary>
	/// 	Inserts an object into the datasource.
	/// </summary>	
	/// <remarks>After inserting into the datasource, the object will be returned
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a row in the table Loai.")]
	public InfoExpress.HIV.Domains.Loai LoaiProvider_Insert(InfoExpress.HIV.Domains.Loai entity )
	{
		LoaiService serviceObject = new LoaiService();
		serviceObject.Insert(entity);
		return entity;		
	}
	
	/// <summary>
	/// Inserts a InfoExpress.HIV.Domains.TList<Loai> object into the datasource using a transaction.
	/// </summary>
	/// <param name="entity">InfoExpress.HIV.Domains.TList<Loai> object to insert.</param>
	/// <remarks>After inserting into the datasource, the InfoExpress.HIV.Domains.Loai object will be updated
	/// to refelect any changes made by the datasource. (ie: identity or computed columns)
	/// </remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a Bulk set of rows into the table Loai.")]
	public void LoaiProvider_BulkInsert(InfoExpress.HIV.Domains.TList<Loai> entityList )
	{
		LoaiService serviceObject = new LoaiService();
		serviceObject.BulkInsert(entityList);
	}
	#endregion Insert Methods
			
	#region Update Methods
		
	/// <summary>
	/// 	Update an existing row in the datasource.
	/// </summary>
	/// <param name="entity"> object to update.</param>
	/// <remarks>After updating the datasource, the object will be updated
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Update a row in the table Loai.")]
	public InfoExpress.HIV.Domains.Loai LoaiProvider_Update(InfoExpress.HIV.Domains.Loai entity)
	{
		LoaiService serviceObject = new LoaiService();
		serviceObject.Update(entity);
		return entity;
	}

	#endregion Update Methods

	#region Custom Methods
	
	
	#endregion

	#endregion Loai

	#region pdmqh

	#region Get from  Many To Many Relationship Functions
	#endregion	
	
	#region Delete Functions
	
	/// <summary>
	/// 	Deletes a row from the DataSource.
	/// </summary>
	/// <param name="Id">. Primary Key.</param>	
	/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
	/// <param name="connectionString">Connection string to datasource.</param>
	/// <remarks>Deletes based on primary key(s).</remarks>
	/// <returns>Returns true if operation suceeded.</returns>
	[WebMethod(Description="Delete a row from the table pdmqh.")]
	public bool PdmqhProvider_Delete(System.Int32 _id)
	{
		PdmqhService serviceObject = new PdmqhService();
		return serviceObject.Delete(_id);
	}		
	
	#endregion
	
	#region Find Functions
	
	/// <summary>
	/// 	Returns rows meeting the whereclause condition from the DataSource.
	/// </summary>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query.</param>
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table pdmqh with additional query text.")]
	public InfoExpress.HIV.Domains.TList<Pdmqh> PdmqhProvider_Find(string whereClause, int start, int pageLength, out int count)
	{
		PdmqhService serviceObject = new PdmqhService();
		return serviceObject.Find(whereClause, start, pageLength, out count);
	}
	
	#endregion Find Functions
	
	
	#region GetAll Functions
		
	/// <summary>
	/// 	Gets All rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <returns>Returns a <s>DataSet</s>.</returns>
	[WebMethod(Description="Get all rows from the table pdmqh.")]
	public InfoExpress.HIV.Domains.TList<Pdmqh> PdmqhProvider_GetAll(int start, int pageLength, out int count)
	{
		PdmqhService serviceObject = new PdmqhService();
		return serviceObject.GetAll(start, pageLength, out count);		
	}
	
	#endregion
	
	#region GetPaged
	
	/// <summary>
	/// Gets a page of rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pageLength">Number of rows to return.</param>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query (Name='John Doe', Name='John Doe' AND Id='1', Name='John Doe' OR Id='1').</param>
	/// <param name="orderBy">Specifies the sort criteria for the rows in the DataSource (Name ASC; BirthDay DESC, Name ASC);</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <remarks></remarks>
	/// <returns>Returns a typed collection of HIVServices objects.</returns>
	[WebMethod(Description="Get all rows from the table pdmqh.")]
	public InfoExpress.HIV.Domains.TList<Pdmqh> PdmqhProvider_GetPaged(string whereClause, string orderBy, int start, int pageLength, out int count)
	{
		PdmqhService serviceObject = new PdmqhService();
		return serviceObject.GetPaged(whereClause, orderBy, start, pageLength, out count);
	}

	#endregion
		
	#region Get By Foreign Key Functions
#endregion
	
	#region Get By Index Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the PK_pdmqh index.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="Id"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table pdmqh filtered by the column Id that is part of the PK_pdmqh index.")]
	public InfoExpress.HIV.Domains.Pdmqh PdmqhProvider_GetById(System.Int32 _id, int start, int pageLength, out int count)
	{
		PdmqhService serviceObject = new PdmqhService();
		return serviceObject.GetById(_id, start, pageLength, out count);
	}
	

	#endregion Get By Index Functions
	
	#region Insert Methods
		
	/// <summary>
	/// 	Inserts an object into the datasource.
	/// </summary>	
	/// <remarks>After inserting into the datasource, the object will be returned
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a row in the table pdmqh.")]
	public InfoExpress.HIV.Domains.Pdmqh PdmqhProvider_Insert(InfoExpress.HIV.Domains.Pdmqh entity )
	{
		PdmqhService serviceObject = new PdmqhService();
		serviceObject.Insert(entity);
		return entity;		
	}
	
	/// <summary>
	/// Inserts a InfoExpress.HIV.Domains.TList<Pdmqh> object into the datasource using a transaction.
	/// </summary>
	/// <param name="entity">InfoExpress.HIV.Domains.TList<Pdmqh> object to insert.</param>
	/// <remarks>After inserting into the datasource, the InfoExpress.HIV.Domains.Pdmqh object will be updated
	/// to refelect any changes made by the datasource. (ie: identity or computed columns)
	/// </remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a Bulk set of rows into the table pdmqh.")]
	public void PdmqhProvider_BulkInsert(InfoExpress.HIV.Domains.TList<Pdmqh> entityList )
	{
		PdmqhService serviceObject = new PdmqhService();
		serviceObject.BulkInsert(entityList);
	}
	#endregion Insert Methods
			
	#region Update Methods
		
	/// <summary>
	/// 	Update an existing row in the datasource.
	/// </summary>
	/// <param name="entity"> object to update.</param>
	/// <remarks>After updating the datasource, the object will be updated
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Update a row in the table pdmqh.")]
	public InfoExpress.HIV.Domains.Pdmqh PdmqhProvider_Update(InfoExpress.HIV.Domains.Pdmqh entity)
	{
		PdmqhService serviceObject = new PdmqhService();
		serviceObject.Update(entity);
		return entity;
	}

	#endregion Update Methods

	#region Custom Methods
	
	
	#endregion

	#endregion pdmqh

	#region LichSuDieuTri

	#region Get from  Many To Many Relationship Functions
	#endregion	
	
	#region Delete Functions
	
	/// <summary>
	/// 	Deletes a row from the DataSource.
	/// </summary>
	/// <param name="Id">. Primary Key.</param>	
	/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
	/// <param name="connectionString">Connection string to datasource.</param>
	/// <remarks>Deletes based on primary key(s).</remarks>
	/// <returns>Returns true if operation suceeded.</returns>
	[WebMethod(Description="Delete a row from the table LichSuDieuTri.")]
	public bool LichSuDieuTriProvider_Delete(System.Int32 _id)
	{
		LichSuDieuTriService serviceObject = new LichSuDieuTriService();
		return serviceObject.Delete(_id);
	}		
	
	#endregion
	
	#region Find Functions
	
	/// <summary>
	/// 	Returns rows meeting the whereclause condition from the DataSource.
	/// </summary>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query.</param>
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table LichSuDieuTri with additional query text.")]
	public InfoExpress.HIV.Domains.TList<LichSuDieuTri> LichSuDieuTriProvider_Find(string whereClause, int start, int pageLength, out int count)
	{
		LichSuDieuTriService serviceObject = new LichSuDieuTriService();
		return serviceObject.Find(whereClause, start, pageLength, out count);
	}
	
	#endregion Find Functions
	
	
	#region GetAll Functions
		
	/// <summary>
	/// 	Gets All rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <returns>Returns a <s>DataSet</s>.</returns>
	[WebMethod(Description="Get all rows from the table LichSuDieuTri.")]
	public InfoExpress.HIV.Domains.TList<LichSuDieuTri> LichSuDieuTriProvider_GetAll(int start, int pageLength, out int count)
	{
		LichSuDieuTriService serviceObject = new LichSuDieuTriService();
		return serviceObject.GetAll(start, pageLength, out count);		
	}
	
	#endregion
	
	#region GetPaged
	
	/// <summary>
	/// Gets a page of rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pageLength">Number of rows to return.</param>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query (Name='John Doe', Name='John Doe' AND Id='1', Name='John Doe' OR Id='1').</param>
	/// <param name="orderBy">Specifies the sort criteria for the rows in the DataSource (Name ASC; BirthDay DESC, Name ASC);</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <remarks></remarks>
	/// <returns>Returns a typed collection of HIVServices objects.</returns>
	[WebMethod(Description="Get all rows from the table LichSuDieuTri.")]
	public InfoExpress.HIV.Domains.TList<LichSuDieuTri> LichSuDieuTriProvider_GetPaged(string whereClause, string orderBy, int start, int pageLength, out int count)
	{
		LichSuDieuTriService serviceObject = new LichSuDieuTriService();
		return serviceObject.GetPaged(whereClause, orderBy, start, pageLength, out count);
	}

	#endregion
		
	#region Get By Foreign Key Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the FK_LichSuDieuTri_BenhNhanDangKy key.
	///		FK_LichSuDieuTri_BenhNhanDangKy Description: 
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="BenhNhanId"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from LichSuDieuTri filtered by the BenhNhanId column.")]
	public InfoExpress.HIV.Domains.TList<LichSuDieuTri> LichSuDieuTriProvider_GetByBenhNhanId(System.Int32 _benhNhanId, int start, int pageLength, out int count)
	{
		LichSuDieuTriService serviceObject = new LichSuDieuTriService();
		return serviceObject.GetByBenhNhanId(_benhNhanId, start, pageLength, out count);
	}
	
#endregion
	
	#region Get By Index Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the PK_LichSuDieuTri index.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="Id"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table LichSuDieuTri filtered by the column Id that is part of the PK_LichSuDieuTri index.")]
	public InfoExpress.HIV.Domains.LichSuDieuTri LichSuDieuTriProvider_GetById(System.Int32 _id, int start, int pageLength, out int count)
	{
		LichSuDieuTriService serviceObject = new LichSuDieuTriService();
		return serviceObject.GetById(_id, start, pageLength, out count);
	}
	

	#endregion Get By Index Functions
	
	#region Insert Methods
		
	/// <summary>
	/// 	Inserts an object into the datasource.
	/// </summary>	
	/// <remarks>After inserting into the datasource, the object will be returned
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a row in the table LichSuDieuTri.")]
	public InfoExpress.HIV.Domains.LichSuDieuTri LichSuDieuTriProvider_Insert(InfoExpress.HIV.Domains.LichSuDieuTri entity )
	{
		LichSuDieuTriService serviceObject = new LichSuDieuTriService();
		serviceObject.Insert(entity);
		return entity;		
	}
	
	/// <summary>
	/// Inserts a InfoExpress.HIV.Domains.TList<LichSuDieuTri> object into the datasource using a transaction.
	/// </summary>
	/// <param name="entity">InfoExpress.HIV.Domains.TList<LichSuDieuTri> object to insert.</param>
	/// <remarks>After inserting into the datasource, the InfoExpress.HIV.Domains.LichSuDieuTri object will be updated
	/// to refelect any changes made by the datasource. (ie: identity or computed columns)
	/// </remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a Bulk set of rows into the table LichSuDieuTri.")]
	public void LichSuDieuTriProvider_BulkInsert(InfoExpress.HIV.Domains.TList<LichSuDieuTri> entityList )
	{
		LichSuDieuTriService serviceObject = new LichSuDieuTriService();
		serviceObject.BulkInsert(entityList);
	}
	#endregion Insert Methods
			
	#region Update Methods
		
	/// <summary>
	/// 	Update an existing row in the datasource.
	/// </summary>
	/// <param name="entity"> object to update.</param>
	/// <remarks>After updating the datasource, the object will be updated
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Update a row in the table LichSuDieuTri.")]
	public InfoExpress.HIV.Domains.LichSuDieuTri LichSuDieuTriProvider_Update(InfoExpress.HIV.Domains.LichSuDieuTri entity)
	{
		LichSuDieuTriService serviceObject = new LichSuDieuTriService();
		serviceObject.Update(entity);
		return entity;
	}

	#endregion Update Methods

	#region Custom Methods
	
	/// <summary>
	///	This method wrap the _LichSuDieuTri_DsBenhNhanChuyenDi stored procedure. 
	/// </summary>
	[WebMethod(Description="This method wrap the _LichSuDieuTri_DsBenhNhanChuyenDi stored procedure.")]
	public void LichSuDieuTriProvider_DsBenhNhanChuyenDi(System.Int32? maDonVi, System.DateTime? tuNgay, System.DateTime? denNgay)//, int start, int pageLength)
	{
		LichSuDieuTriService serviceObject = new LichSuDieuTriService();
		
		     serviceObject.DsBenhNhanChuyenDi(maDonVi, tuNgay, denNgay);//, start, pageLength );
	}
		
	/// <summary>
	///	This method wrap the _LichSuDieuTri_DsBenhNhanChuyenDen stored procedure. 
	/// </summary>
	[WebMethod(Description="This method wrap the _LichSuDieuTri_DsBenhNhanChuyenDen stored procedure.")]
	public DataSet LichSuDieuTriProvider_DsBenhNhanChuyenDen(System.Int32? maDonVi, System.DateTime? tuNgay, System.DateTime? denNgay)//, int start, int pageLength)
	{
		LichSuDieuTriService serviceObject = new LichSuDieuTriService();
		
		    return  serviceObject.DsBenhNhanChuyenDen(maDonVi, tuNgay, denNgay)/*, start, pageLength )*/;
	}
		
	/// <summary>
	///	This method wrap the _LichSuDieuTri_LayLichSuMoiNhat stored procedure. 
	/// </summary>
	[WebMethod(Description="This method wrap the _LichSuDieuTri_LayLichSuMoiNhat stored procedure.")]
	public TList<LichSuDieuTri> LichSuDieuTriProvider_LayLichSuMoiNhat(System.Int32? benhNhanId)//, int start, int pageLength)
	{
		LichSuDieuTriService serviceObject = new LichSuDieuTriService();
		
		    return  serviceObject.LayLichSuMoiNhat(benhNhanId);//, start, pageLength );
	}
		
	
	#endregion

	#endregion LichSuDieuTri

	#region ChuyenOpcBuffer

	#region Get from  Many To Many Relationship Functions
	#endregion	
	
	#region Delete Functions
	
	/// <summary>
	/// 	Deletes a row from the DataSource.
	/// </summary>
	/// <param name="BenhNhanId">. Primary Key.</param>	
	/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
	/// <param name="connectionString">Connection string to datasource.</param>
	/// <remarks>Deletes based on primary key(s).</remarks>
	/// <returns>Returns true if operation suceeded.</returns>
	[WebMethod(Description="Delete a row from the table ChuyenOpcBuffer.")]
	public bool ChuyenOpcBufferProvider_Delete(System.Int32 _benhNhanId)
	{
		ChuyenOpcBufferService serviceObject = new ChuyenOpcBufferService();
		return serviceObject.Delete(_benhNhanId);
	}		
	
	#endregion
	
	#region Find Functions
	
	/// <summary>
	/// 	Returns rows meeting the whereclause condition from the DataSource.
	/// </summary>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query.</param>
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table ChuyenOpcBuffer with additional query text.")]
	public InfoExpress.HIV.Domains.TList<ChuyenOpcBuffer> ChuyenOpcBufferProvider_Find(string whereClause, int start, int pageLength, out int count)
	{
		ChuyenOpcBufferService serviceObject = new ChuyenOpcBufferService();
		return serviceObject.Find(whereClause, start, pageLength, out count);
	}
	
	#endregion Find Functions
	
	
	#region GetAll Functions
		
	/// <summary>
	/// 	Gets All rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <returns>Returns a <s>DataSet</s>.</returns>
	[WebMethod(Description="Get all rows from the table ChuyenOpcBuffer.")]
	public InfoExpress.HIV.Domains.TList<ChuyenOpcBuffer> ChuyenOpcBufferProvider_GetAll(int start, int pageLength, out int count)
	{
		ChuyenOpcBufferService serviceObject = new ChuyenOpcBufferService();
		return serviceObject.GetAll(start, pageLength, out count);		
	}
	
	#endregion
	
	#region GetPaged
	
	/// <summary>
	/// Gets a page of rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pageLength">Number of rows to return.</param>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query (Name='John Doe', Name='John Doe' AND Id='1', Name='John Doe' OR Id='1').</param>
	/// <param name="orderBy">Specifies the sort criteria for the rows in the DataSource (Name ASC; BirthDay DESC, Name ASC);</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <remarks></remarks>
	/// <returns>Returns a typed collection of HIVServices objects.</returns>
	[WebMethod(Description="Get all rows from the table ChuyenOpcBuffer.")]
	public InfoExpress.HIV.Domains.TList<ChuyenOpcBuffer> ChuyenOpcBufferProvider_GetPaged(string whereClause, string orderBy, int start, int pageLength, out int count)
	{
		ChuyenOpcBufferService serviceObject = new ChuyenOpcBufferService();
		return serviceObject.GetPaged(whereClause, orderBy, start, pageLength, out count);
	}

	#endregion
		
	#region Get By Foreign Key Functions
#endregion
	
	#region Get By Index Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the PK_ChuyenOpcBuffer index.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="BenhNhanId"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table ChuyenOpcBuffer filtered by the column BenhNhanId that is part of the PK_ChuyenOpcBuffer index.")]
	public InfoExpress.HIV.Domains.ChuyenOpcBuffer ChuyenOpcBufferProvider_GetByBenhNhanId(System.Int32 _benhNhanId, int start, int pageLength, out int count)
	{
		ChuyenOpcBufferService serviceObject = new ChuyenOpcBufferService();
		return serviceObject.GetByBenhNhanId(_benhNhanId, start, pageLength, out count);
	}
	

	#endregion Get By Index Functions
	
	#region Insert Methods
		
	/// <summary>
	/// 	Inserts an object into the datasource.
	/// </summary>	
	/// <remarks>After inserting into the datasource, the object will be returned
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a row in the table ChuyenOpcBuffer.")]
	public InfoExpress.HIV.Domains.ChuyenOpcBuffer ChuyenOpcBufferProvider_Insert(InfoExpress.HIV.Domains.ChuyenOpcBuffer entity )
	{
		ChuyenOpcBufferService serviceObject = new ChuyenOpcBufferService();
		serviceObject.Insert(entity);
		return entity;		
	}
	
	/// <summary>
	/// Inserts a InfoExpress.HIV.Domains.TList<ChuyenOpcBuffer> object into the datasource using a transaction.
	/// </summary>
	/// <param name="entity">InfoExpress.HIV.Domains.TList<ChuyenOpcBuffer> object to insert.</param>
	/// <remarks>After inserting into the datasource, the InfoExpress.HIV.Domains.ChuyenOpcBuffer object will be updated
	/// to refelect any changes made by the datasource. (ie: identity or computed columns)
	/// </remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a Bulk set of rows into the table ChuyenOpcBuffer.")]
	public void ChuyenOpcBufferProvider_BulkInsert(InfoExpress.HIV.Domains.TList<ChuyenOpcBuffer> entityList )
	{
		ChuyenOpcBufferService serviceObject = new ChuyenOpcBufferService();
		serviceObject.BulkInsert(entityList);
	}
	#endregion Insert Methods
			
	#region Update Methods
		
	/// <summary>
	/// 	Update an existing row in the datasource.
	/// </summary>
	/// <param name="entity"> object to update.</param>
	/// <remarks>After updating the datasource, the object will be updated
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Update a row in the table ChuyenOpcBuffer.")]
	public InfoExpress.HIV.Domains.ChuyenOpcBuffer ChuyenOpcBufferProvider_Update(InfoExpress.HIV.Domains.ChuyenOpcBuffer entity)
	{
		ChuyenOpcBufferService serviceObject = new ChuyenOpcBufferService();
		serviceObject.Update(entity);
		return entity;
	}

	#endregion Update Methods

	#region Custom Methods
	
	/// <summary>
	///	This method wrap the _ChuyenOpcBuffer_DsBenhNhan stored procedure. 
	/// </summary>
	[WebMethod(Description="This method wrap the _ChuyenOpcBuffer_DsBenhNhan stored procedure.")]
	public DataSet ChuyenOpcBufferProvider_DsBenhNhan(System.String maDonVi, System.Boolean? benhNhanTuDo)//, int start, int pageLength)
	{
		ChuyenOpcBufferService serviceObject = new ChuyenOpcBufferService();
		
		    return  serviceObject.DsBenhNhan(maDonVi, benhNhanTuDo)/*, start, pageLength )*/;
	}
		
	
	#endregion

	#endregion ChuyenOpcBuffer

	#region DieuTri

	#region Get from  Many To Many Relationship Functions
	#endregion	
	
	#region Delete Functions
	
	/// <summary>
	/// 	Deletes a row from the DataSource.
	/// </summary>
	/// <param name="Id">. Primary Key.</param>	
	/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
	/// <param name="connectionString">Connection string to datasource.</param>
	/// <remarks>Deletes based on primary key(s).</remarks>
	/// <returns>Returns true if operation suceeded.</returns>
	[WebMethod(Description="Delete a row from the table DieuTri.")]
	public bool DieuTriProvider_Delete(System.Int32 _id)
	{
		DieuTriService serviceObject = new DieuTriService();
		return serviceObject.Delete(_id);
	}		
	
	#endregion
	
	#region Find Functions
	
	/// <summary>
	/// 	Returns rows meeting the whereclause condition from the DataSource.
	/// </summary>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query.</param>
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table DieuTri with additional query text.")]
	public InfoExpress.HIV.Domains.TList<DieuTri> DieuTriProvider_Find(string whereClause, int start, int pageLength, out int count)
	{
		DieuTriService serviceObject = new DieuTriService();
		return serviceObject.Find(whereClause, start, pageLength, out count);
	}
	
	#endregion Find Functions
	
	
	#region GetAll Functions
		
	/// <summary>
	/// 	Gets All rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <returns>Returns a <s>DataSet</s>.</returns>
	[WebMethod(Description="Get all rows from the table DieuTri.")]
	public InfoExpress.HIV.Domains.TList<DieuTri> DieuTriProvider_GetAll(int start, int pageLength, out int count)
	{
		DieuTriService serviceObject = new DieuTriService();
		return serviceObject.GetAll(start, pageLength, out count);		
	}
	
	#endregion
	
	#region GetPaged
	
	/// <summary>
	/// Gets a page of rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pageLength">Number of rows to return.</param>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query (Name='John Doe', Name='John Doe' AND Id='1', Name='John Doe' OR Id='1').</param>
	/// <param name="orderBy">Specifies the sort criteria for the rows in the DataSource (Name ASC; BirthDay DESC, Name ASC);</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <remarks></remarks>
	/// <returns>Returns a typed collection of HIVServices objects.</returns>
	[WebMethod(Description="Get all rows from the table DieuTri.")]
	public InfoExpress.HIV.Domains.TList<DieuTri> DieuTriProvider_GetPaged(string whereClause, string orderBy, int start, int pageLength, out int count)
	{
		DieuTriService serviceObject = new DieuTriService();
		return serviceObject.GetPaged(whereClause, orderBy, start, pageLength, out count);
	}

	#endregion
		
	#region Get By Foreign Key Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the FK_DieuTri_BenhNhanDangKy key.
	///		FK_DieuTri_BenhNhanDangKy Description: 
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="BenhNhanId"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from DieuTri filtered by the BenhNhanId column.")]
	public InfoExpress.HIV.Domains.TList<DieuTri> DieuTriProvider_GetByBenhNhanId(System.Int32 _benhNhanId, int start, int pageLength, out int count)
	{
		DieuTriService serviceObject = new DieuTriService();
		return serviceObject.GetByBenhNhanId(_benhNhanId, start, pageLength, out count);
	}
	
#endregion
	
	#region Get By Index Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the PK_DieuTri index.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="Id"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table DieuTri filtered by the column Id that is part of the PK_DieuTri index.")]
	public InfoExpress.HIV.Domains.DieuTri DieuTriProvider_GetById(System.Int32 _id, int start, int pageLength, out int count)
	{
		DieuTriService serviceObject = new DieuTriService();
		return serviceObject.GetById(_id, start, pageLength, out count);
	}
	

	#endregion Get By Index Functions
	
	#region Insert Methods
		
	/// <summary>
	/// 	Inserts an object into the datasource.
	/// </summary>	
	/// <remarks>After inserting into the datasource, the object will be returned
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a row in the table DieuTri.")]
	public InfoExpress.HIV.Domains.DieuTri DieuTriProvider_Insert(InfoExpress.HIV.Domains.DieuTri entity )
	{
		DieuTriService serviceObject = new DieuTriService();
		serviceObject.Insert(entity);
		return entity;		
	}
	
	/// <summary>
	/// Inserts a InfoExpress.HIV.Domains.TList<DieuTri> object into the datasource using a transaction.
	/// </summary>
	/// <param name="entity">InfoExpress.HIV.Domains.TList<DieuTri> object to insert.</param>
	/// <remarks>After inserting into the datasource, the InfoExpress.HIV.Domains.DieuTri object will be updated
	/// to refelect any changes made by the datasource. (ie: identity or computed columns)
	/// </remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a Bulk set of rows into the table DieuTri.")]
	public void DieuTriProvider_BulkInsert(InfoExpress.HIV.Domains.TList<DieuTri> entityList )
	{
		DieuTriService serviceObject = new DieuTriService();
		serviceObject.BulkInsert(entityList);
	}
	#endregion Insert Methods
			
	#region Update Methods
		
	/// <summary>
	/// 	Update an existing row in the datasource.
	/// </summary>
	/// <param name="entity"> object to update.</param>
	/// <remarks>After updating the datasource, the object will be updated
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Update a row in the table DieuTri.")]
	public InfoExpress.HIV.Domains.DieuTri DieuTriProvider_Update(InfoExpress.HIV.Domains.DieuTri entity)
	{
		DieuTriService serviceObject = new DieuTriService();
		serviceObject.Update(entity);
		return entity;
	}

	#endregion Update Methods

	#region Custom Methods
	
	/// <summary>
	///	This method wrap the _DieuTri_DsBenhNhanMatHut stored procedure. 
	/// </summary>
	[WebMethod(Description="This method wrap the _DieuTri_DsBenhNhanMatHut stored procedure.")]
	public void DieuTriProvider_DsBenhNhanMatHut(System.String maDonVi, System.DateTime? tuNgay, System.DateTime? denNgay)//, int start, int pageLength)
	{
		DieuTriService serviceObject = new DieuTriService();
		
		     serviceObject.DsBenhNhanMatHut(maDonVi, tuNgay, denNgay);//, start, pageLength );
	}
		
	/// <summary>
	///	This method wrap the _DieuTri_LayDieuTriLanCuoi stored procedure. 
	/// </summary>
	[WebMethod(Description="This method wrap the _DieuTri_LayDieuTriLanCuoi stored procedure.")]
	public TList<DieuTri> DieuTriProvider_LayDieuTriLanCuoi(System.String maBenhNhan, System.Boolean? dieuTriArv, System.Boolean? baoGomChamDutDieuTri, System.Boolean? baoGomDangChuyenOpc, System.Boolean? maDonVi)//, int start, int pageLength)
	{
		DieuTriService serviceObject = new DieuTriService();
		
		    return  serviceObject.LayDieuTriLanCuoi(maBenhNhan, dieuTriArv, baoGomChamDutDieuTri, baoGomDangChuyenOpc, maDonVi);//, start, pageLength );
	}
		
	/// <summary>
	///	This method wrap the _DieuTri_DsBenhNhanTuVong stored procedure. 
	/// </summary>
	[WebMethod(Description="This method wrap the _DieuTri_DsBenhNhanTuVong stored procedure.")]
	public DataSet DieuTriProvider_DsBenhNhanTuVong(System.String maDonVi, System.DateTime? tuNgay, System.DateTime? denNgay)//, int start, int pageLength)
	{
		DieuTriService serviceObject = new DieuTriService();
		
		    return  serviceObject.DsBenhNhanTuVong(maDonVi, tuNgay, denNgay)/*, start, pageLength )*/;
	}
		
	/// <summary>
	///	This method wrap the _DieuTri_DsBenhNhan stored procedure. 
	/// </summary>
	[WebMethod(Description="This method wrap the _DieuTri_DsBenhNhan stored procedure.")]
	public DataSet DieuTriProvider_DsBenhNhan(System.String maDonVi, System.String maBenhNhan, System.String tenBenhNhan, System.Boolean? dieuTriArv, System.Boolean? chamDutDieuTri, System.DateTime? tuNgay, System.DateTime? denNgay)//, int start, int pageLength)
	{
		DieuTriService serviceObject = new DieuTriService();
		
		    return  serviceObject.DsBenhNhan(maDonVi, maBenhNhan, tenBenhNhan, dieuTriArv, chamDutDieuTri, tuNgay, denNgay)/*, start, pageLength )*/;
	}
		
	/// <summary>
	///	This method wrap the _DieuTri_KiemTraTonTai stored procedure. 
	/// </summary>
	[WebMethod(Description="This method wrap the _DieuTri_KiemTraTonTai stored procedure.")]
	public DataSet DieuTriProvider_KiemTraTonTai(System.String maBenhNhan, System.Boolean? dieuTriArv, System.Boolean? baoGomChamDutDieuTri, System.Boolean? baoGomDangChuyenOpc, System.Boolean? maDonVi)//, int start, int pageLength)
	{
		DieuTriService serviceObject = new DieuTriService();
		
		    return  serviceObject.KiemTraTonTai(maBenhNhan, dieuTriArv, baoGomChamDutDieuTri, baoGomDangChuyenOpc, maDonVi)/*, start, pageLength )*/;
	}
		
	
	#endregion

	#endregion DieuTri

	#region pdmphxa

	#region Get from  Many To Many Relationship Functions
	#endregion	
	
	#region Delete Functions
	
	/// <summary>
	/// 	Deletes a row from the DataSource.
	/// </summary>
	/// <param name="Id">. Primary Key.</param>	
	/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
	/// <param name="connectionString">Connection string to datasource.</param>
	/// <remarks>Deletes based on primary key(s).</remarks>
	/// <returns>Returns true if operation suceeded.</returns>
	[WebMethod(Description="Delete a row from the table pdmphxa.")]
	public bool PdmphxaProvider_Delete(System.Int32 _id)
	{
		PdmphxaService serviceObject = new PdmphxaService();
		return serviceObject.Delete(_id);
	}		
	
	#endregion
	
	#region Find Functions
	
	/// <summary>
	/// 	Returns rows meeting the whereclause condition from the DataSource.
	/// </summary>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query.</param>
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table pdmphxa with additional query text.")]
	public InfoExpress.HIV.Domains.TList<Pdmphxa> PdmphxaProvider_Find(string whereClause, int start, int pageLength, out int count)
	{
		PdmphxaService serviceObject = new PdmphxaService();
		return serviceObject.Find(whereClause, start, pageLength, out count);
	}
	
	#endregion Find Functions
	
	
	#region GetAll Functions
		
	/// <summary>
	/// 	Gets All rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <returns>Returns a <s>DataSet</s>.</returns>
	[WebMethod(Description="Get all rows from the table pdmphxa.")]
	public InfoExpress.HIV.Domains.TList<Pdmphxa> PdmphxaProvider_GetAll(int start, int pageLength, out int count)
	{
		PdmphxaService serviceObject = new PdmphxaService();
		return serviceObject.GetAll(start, pageLength, out count);		
	}
	
	#endregion
	
	#region GetPaged
	
	/// <summary>
	/// Gets a page of rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pageLength">Number of rows to return.</param>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query (Name='John Doe', Name='John Doe' AND Id='1', Name='John Doe' OR Id='1').</param>
	/// <param name="orderBy">Specifies the sort criteria for the rows in the DataSource (Name ASC; BirthDay DESC, Name ASC);</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <remarks></remarks>
	/// <returns>Returns a typed collection of HIVServices objects.</returns>
	[WebMethod(Description="Get all rows from the table pdmphxa.")]
	public InfoExpress.HIV.Domains.TList<Pdmphxa> PdmphxaProvider_GetPaged(string whereClause, string orderBy, int start, int pageLength, out int count)
	{
		PdmphxaService serviceObject = new PdmphxaService();
		return serviceObject.GetPaged(whereClause, orderBy, start, pageLength, out count);
	}

	#endregion
		
	#region Get By Foreign Key Functions
#endregion
	
	#region Get By Index Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the PK_pdmphxa index.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="Id"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table pdmphxa filtered by the column Id that is part of the PK_pdmphxa index.")]
	public InfoExpress.HIV.Domains.Pdmphxa PdmphxaProvider_GetById(System.Int32 _id, int start, int pageLength, out int count)
	{
		PdmphxaService serviceObject = new PdmphxaService();
		return serviceObject.GetById(_id, start, pageLength, out count);
	}
	

	#endregion Get By Index Functions
	
	#region Insert Methods
		
	/// <summary>
	/// 	Inserts an object into the datasource.
	/// </summary>	
	/// <remarks>After inserting into the datasource, the object will be returned
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a row in the table pdmphxa.")]
	public InfoExpress.HIV.Domains.Pdmphxa PdmphxaProvider_Insert(InfoExpress.HIV.Domains.Pdmphxa entity )
	{
		PdmphxaService serviceObject = new PdmphxaService();
		serviceObject.Insert(entity);
		return entity;		
	}
	
	/// <summary>
	/// Inserts a InfoExpress.HIV.Domains.TList<Pdmphxa> object into the datasource using a transaction.
	/// </summary>
	/// <param name="entity">InfoExpress.HIV.Domains.TList<Pdmphxa> object to insert.</param>
	/// <remarks>After inserting into the datasource, the InfoExpress.HIV.Domains.Pdmphxa object will be updated
	/// to refelect any changes made by the datasource. (ie: identity or computed columns)
	/// </remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a Bulk set of rows into the table pdmphxa.")]
	public void PdmphxaProvider_BulkInsert(InfoExpress.HIV.Domains.TList<Pdmphxa> entityList )
	{
		PdmphxaService serviceObject = new PdmphxaService();
		serviceObject.BulkInsert(entityList);
	}
	#endregion Insert Methods
			
	#region Update Methods
		
	/// <summary>
	/// 	Update an existing row in the datasource.
	/// </summary>
	/// <param name="entity"> object to update.</param>
	/// <remarks>After updating the datasource, the object will be updated
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Update a row in the table pdmphxa.")]
	public InfoExpress.HIV.Domains.Pdmphxa PdmphxaProvider_Update(InfoExpress.HIV.Domains.Pdmphxa entity)
	{
		PdmphxaService serviceObject = new PdmphxaService();
		serviceObject.Update(entity);
		return entity;
	}

	#endregion Update Methods

	#region Custom Methods
	
	
	#endregion

	#endregion pdmphxa

	#region pdmdt

	#region Get from  Many To Many Relationship Functions
	#endregion	
	
	#region Delete Functions
	
	/// <summary>
	/// 	Deletes a row from the DataSource.
	/// </summary>
	/// <param name="Id">. Primary Key.</param>	
	/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
	/// <param name="connectionString">Connection string to datasource.</param>
	/// <remarks>Deletes based on primary key(s).</remarks>
	/// <returns>Returns true if operation suceeded.</returns>
	[WebMethod(Description="Delete a row from the table pdmdt.")]
	public bool PdmdtProvider_Delete(System.Int32 _id)
	{
		PdmdtService serviceObject = new PdmdtService();
		return serviceObject.Delete(_id);
	}		
	
	#endregion
	
	#region Find Functions
	
	/// <summary>
	/// 	Returns rows meeting the whereclause condition from the DataSource.
	/// </summary>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query.</param>
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table pdmdt with additional query text.")]
	public InfoExpress.HIV.Domains.TList<Pdmdt> PdmdtProvider_Find(string whereClause, int start, int pageLength, out int count)
	{
		PdmdtService serviceObject = new PdmdtService();
		return serviceObject.Find(whereClause, start, pageLength, out count);
	}
	
	#endregion Find Functions
	
	
	#region GetAll Functions
		
	/// <summary>
	/// 	Gets All rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <returns>Returns a <s>DataSet</s>.</returns>
	[WebMethod(Description="Get all rows from the table pdmdt.")]
	public InfoExpress.HIV.Domains.TList<Pdmdt> PdmdtProvider_GetAll(int start, int pageLength, out int count)
	{
		PdmdtService serviceObject = new PdmdtService();
		return serviceObject.GetAll(start, pageLength, out count);		
	}
	
	#endregion
	
	#region GetPaged
	
	/// <summary>
	/// Gets a page of rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pageLength">Number of rows to return.</param>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query (Name='John Doe', Name='John Doe' AND Id='1', Name='John Doe' OR Id='1').</param>
	/// <param name="orderBy">Specifies the sort criteria for the rows in the DataSource (Name ASC; BirthDay DESC, Name ASC);</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <remarks></remarks>
	/// <returns>Returns a typed collection of HIVServices objects.</returns>
	[WebMethod(Description="Get all rows from the table pdmdt.")]
	public InfoExpress.HIV.Domains.TList<Pdmdt> PdmdtProvider_GetPaged(string whereClause, string orderBy, int start, int pageLength, out int count)
	{
		PdmdtService serviceObject = new PdmdtService();
		return serviceObject.GetPaged(whereClause, orderBy, start, pageLength, out count);
	}

	#endregion
		
	#region Get By Foreign Key Functions
#endregion
	
	#region Get By Index Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the PK_pdmdt index.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="Id"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table pdmdt filtered by the column Id that is part of the PK_pdmdt index.")]
	public InfoExpress.HIV.Domains.Pdmdt PdmdtProvider_GetById(System.Int32 _id, int start, int pageLength, out int count)
	{
		PdmdtService serviceObject = new PdmdtService();
		return serviceObject.GetById(_id, start, pageLength, out count);
	}
	

	#endregion Get By Index Functions
	
	#region Insert Methods
		
	/// <summary>
	/// 	Inserts an object into the datasource.
	/// </summary>	
	/// <remarks>After inserting into the datasource, the object will be returned
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a row in the table pdmdt.")]
	public InfoExpress.HIV.Domains.Pdmdt PdmdtProvider_Insert(InfoExpress.HIV.Domains.Pdmdt entity )
	{
		PdmdtService serviceObject = new PdmdtService();
		serviceObject.Insert(entity);
		return entity;		
	}
	
	/// <summary>
	/// Inserts a InfoExpress.HIV.Domains.TList<Pdmdt> object into the datasource using a transaction.
	/// </summary>
	/// <param name="entity">InfoExpress.HIV.Domains.TList<Pdmdt> object to insert.</param>
	/// <remarks>After inserting into the datasource, the InfoExpress.HIV.Domains.Pdmdt object will be updated
	/// to refelect any changes made by the datasource. (ie: identity or computed columns)
	/// </remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a Bulk set of rows into the table pdmdt.")]
	public void PdmdtProvider_BulkInsert(InfoExpress.HIV.Domains.TList<Pdmdt> entityList )
	{
		PdmdtService serviceObject = new PdmdtService();
		serviceObject.BulkInsert(entityList);
	}
	#endregion Insert Methods
			
	#region Update Methods
		
	/// <summary>
	/// 	Update an existing row in the datasource.
	/// </summary>
	/// <param name="entity"> object to update.</param>
	/// <remarks>After updating the datasource, the object will be updated
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Update a row in the table pdmdt.")]
	public InfoExpress.HIV.Domains.Pdmdt PdmdtProvider_Update(InfoExpress.HIV.Domains.Pdmdt entity)
	{
		PdmdtService serviceObject = new PdmdtService();
		serviceObject.Update(entity);
		return entity;
	}

	#endregion Update Methods

	#region Custom Methods
	
	
	#endregion

	#endregion pdmdt

	#region pdmnn

	#region Get from  Many To Many Relationship Functions
	#endregion	
	
	#region Delete Functions
	
	/// <summary>
	/// 	Deletes a row from the DataSource.
	/// </summary>
	/// <param name="Id">. Primary Key.</param>	
	/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
	/// <param name="connectionString">Connection string to datasource.</param>
	/// <remarks>Deletes based on primary key(s).</remarks>
	/// <returns>Returns true if operation suceeded.</returns>
	[WebMethod(Description="Delete a row from the table pdmnn.")]
	public bool PdmnnProvider_Delete(System.Int32 _id)
	{
		PdmnnService serviceObject = new PdmnnService();
		return serviceObject.Delete(_id);
	}		
	
	#endregion
	
	#region Find Functions
	
	/// <summary>
	/// 	Returns rows meeting the whereclause condition from the DataSource.
	/// </summary>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query.</param>
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table pdmnn with additional query text.")]
	public InfoExpress.HIV.Domains.TList<Pdmnn> PdmnnProvider_Find(string whereClause, int start, int pageLength, out int count)
	{
		PdmnnService serviceObject = new PdmnnService();
		return serviceObject.Find(whereClause, start, pageLength, out count);
	}
	
	#endregion Find Functions
	
	
	#region GetAll Functions
		
	/// <summary>
	/// 	Gets All rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <returns>Returns a <s>DataSet</s>.</returns>
	[WebMethod(Description="Get all rows from the table pdmnn.")]
	public InfoExpress.HIV.Domains.TList<Pdmnn> PdmnnProvider_GetAll(int start, int pageLength, out int count)
	{
		PdmnnService serviceObject = new PdmnnService();
		return serviceObject.GetAll(start, pageLength, out count);		
	}
	
	#endregion
	
	#region GetPaged
	
	/// <summary>
	/// Gets a page of rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pageLength">Number of rows to return.</param>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query (Name='John Doe', Name='John Doe' AND Id='1', Name='John Doe' OR Id='1').</param>
	/// <param name="orderBy">Specifies the sort criteria for the rows in the DataSource (Name ASC; BirthDay DESC, Name ASC);</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <remarks></remarks>
	/// <returns>Returns a typed collection of HIVServices objects.</returns>
	[WebMethod(Description="Get all rows from the table pdmnn.")]
	public InfoExpress.HIV.Domains.TList<Pdmnn> PdmnnProvider_GetPaged(string whereClause, string orderBy, int start, int pageLength, out int count)
	{
		PdmnnService serviceObject = new PdmnnService();
		return serviceObject.GetPaged(whereClause, orderBy, start, pageLength, out count);
	}

	#endregion
		
	#region Get By Foreign Key Functions
#endregion
	
	#region Get By Index Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the PK_pdmnn index.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="Id"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table pdmnn filtered by the column Id that is part of the PK_pdmnn index.")]
	public InfoExpress.HIV.Domains.Pdmnn PdmnnProvider_GetById(System.Int32 _id, int start, int pageLength, out int count)
	{
		PdmnnService serviceObject = new PdmnnService();
		return serviceObject.GetById(_id, start, pageLength, out count);
	}
	

	#endregion Get By Index Functions
	
	#region Insert Methods
		
	/// <summary>
	/// 	Inserts an object into the datasource.
	/// </summary>	
	/// <remarks>After inserting into the datasource, the object will be returned
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a row in the table pdmnn.")]
	public InfoExpress.HIV.Domains.Pdmnn PdmnnProvider_Insert(InfoExpress.HIV.Domains.Pdmnn entity )
	{
		PdmnnService serviceObject = new PdmnnService();
		serviceObject.Insert(entity);
		return entity;		
	}
	
	/// <summary>
	/// Inserts a InfoExpress.HIV.Domains.TList<Pdmnn> object into the datasource using a transaction.
	/// </summary>
	/// <param name="entity">InfoExpress.HIV.Domains.TList<Pdmnn> object to insert.</param>
	/// <remarks>After inserting into the datasource, the InfoExpress.HIV.Domains.Pdmnn object will be updated
	/// to refelect any changes made by the datasource. (ie: identity or computed columns)
	/// </remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a Bulk set of rows into the table pdmnn.")]
	public void PdmnnProvider_BulkInsert(InfoExpress.HIV.Domains.TList<Pdmnn> entityList )
	{
		PdmnnService serviceObject = new PdmnnService();
		serviceObject.BulkInsert(entityList);
	}
	#endregion Insert Methods
			
	#region Update Methods
		
	/// <summary>
	/// 	Update an existing row in the datasource.
	/// </summary>
	/// <param name="entity"> object to update.</param>
	/// <remarks>After updating the datasource, the object will be updated
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Update a row in the table pdmnn.")]
	public InfoExpress.HIV.Domains.Pdmnn PdmnnProvider_Update(InfoExpress.HIV.Domains.Pdmnn entity)
	{
		PdmnnService serviceObject = new PdmnnService();
		serviceObject.Update(entity);
		return entity;
	}

	#endregion Update Methods

	#region Custom Methods
	
	
	#endregion

	#endregion pdmnn

	#region ut_tinh

	#region Get from  Many To Many Relationship Functions
	#endregion	
	
	#region Delete Functions
	
	/// <summary>
	/// 	Deletes a row from the DataSource.
	/// </summary>
	/// <param name="Id">. Primary Key.</param>	
	/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
	/// <param name="connectionString">Connection string to datasource.</param>
	/// <remarks>Deletes based on primary key(s).</remarks>
	/// <returns>Returns true if operation suceeded.</returns>
	[WebMethod(Description="Delete a row from the table ut_tinh.")]
	public bool UtTinhProvider_Delete(System.Int32 _id)
	{
		UtTinhService serviceObject = new UtTinhService();
		return serviceObject.Delete(_id);
	}		
	
	#endregion
	
	#region Find Functions
	
	/// <summary>
	/// 	Returns rows meeting the whereclause condition from the DataSource.
	/// </summary>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query.</param>
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table ut_tinh with additional query text.")]
	public InfoExpress.HIV.Domains.TList<UtTinh> UtTinhProvider_Find(string whereClause, int start, int pageLength, out int count)
	{
		UtTinhService serviceObject = new UtTinhService();
		return serviceObject.Find(whereClause, start, pageLength, out count);
	}
	
	#endregion Find Functions
	
	
	#region GetAll Functions
		
	/// <summary>
	/// 	Gets All rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <returns>Returns a <s>DataSet</s>.</returns>
	[WebMethod(Description="Get all rows from the table ut_tinh.")]
	public InfoExpress.HIV.Domains.TList<UtTinh> UtTinhProvider_GetAll(int start, int pageLength, out int count)
	{
		UtTinhService serviceObject = new UtTinhService();
		return serviceObject.GetAll(start, pageLength, out count);		
	}
	
	#endregion
	
	#region GetPaged
	
	/// <summary>
	/// Gets a page of rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pageLength">Number of rows to return.</param>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query (Name='John Doe', Name='John Doe' AND Id='1', Name='John Doe' OR Id='1').</param>
	/// <param name="orderBy">Specifies the sort criteria for the rows in the DataSource (Name ASC; BirthDay DESC, Name ASC);</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <remarks></remarks>
	/// <returns>Returns a typed collection of HIVServices objects.</returns>
	[WebMethod(Description="Get all rows from the table ut_tinh.")]
	public InfoExpress.HIV.Domains.TList<UtTinh> UtTinhProvider_GetPaged(string whereClause, string orderBy, int start, int pageLength, out int count)
	{
		UtTinhService serviceObject = new UtTinhService();
		return serviceObject.GetPaged(whereClause, orderBy, start, pageLength, out count);
	}

	#endregion
		
	#region Get By Foreign Key Functions
#endregion
	
	#region Get By Index Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the PK_ut_tinh index.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="Id"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table ut_tinh filtered by the column Id that is part of the PK_ut_tinh index.")]
	public InfoExpress.HIV.Domains.UtTinh UtTinhProvider_GetById(System.Int32 _id, int start, int pageLength, out int count)
	{
		UtTinhService serviceObject = new UtTinhService();
		return serviceObject.GetById(_id, start, pageLength, out count);
	}
	

	#endregion Get By Index Functions
	
	#region Insert Methods
		
	/// <summary>
	/// 	Inserts an object into the datasource.
	/// </summary>	
	/// <remarks>After inserting into the datasource, the object will be returned
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a row in the table ut_tinh.")]
	public InfoExpress.HIV.Domains.UtTinh UtTinhProvider_Insert(InfoExpress.HIV.Domains.UtTinh entity )
	{
		UtTinhService serviceObject = new UtTinhService();
		serviceObject.Insert(entity);
		return entity;		
	}
	
	/// <summary>
	/// Inserts a InfoExpress.HIV.Domains.TList<UtTinh> object into the datasource using a transaction.
	/// </summary>
	/// <param name="entity">InfoExpress.HIV.Domains.TList<UtTinh> object to insert.</param>
	/// <remarks>After inserting into the datasource, the InfoExpress.HIV.Domains.UtTinh object will be updated
	/// to refelect any changes made by the datasource. (ie: identity or computed columns)
	/// </remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a Bulk set of rows into the table ut_tinh.")]
	public void UtTinhProvider_BulkInsert(InfoExpress.HIV.Domains.TList<UtTinh> entityList )
	{
		UtTinhService serviceObject = new UtTinhService();
		serviceObject.BulkInsert(entityList);
	}
	#endregion Insert Methods
			
	#region Update Methods
		
	/// <summary>
	/// 	Update an existing row in the datasource.
	/// </summary>
	/// <param name="entity"> object to update.</param>
	/// <remarks>After updating the datasource, the object will be updated
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Update a row in the table ut_tinh.")]
	public InfoExpress.HIV.Domains.UtTinh UtTinhProvider_Update(InfoExpress.HIV.Domains.UtTinh entity)
	{
		UtTinhService serviceObject = new UtTinhService();
		serviceObject.Update(entity);
		return entity;
	}

	#endregion Update Methods

	#region Custom Methods
	
	
	#endregion

	#endregion ut_tinh

	#region pdmncln

	#region Get from  Many To Many Relationship Functions
	#endregion	
	
	#region Delete Functions
	
	/// <summary>
	/// 	Deletes a row from the DataSource.
	/// </summary>
	/// <param name="Id">. Primary Key.</param>	
	/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
	/// <param name="connectionString">Connection string to datasource.</param>
	/// <remarks>Deletes based on primary key(s).</remarks>
	/// <returns>Returns true if operation suceeded.</returns>
	[WebMethod(Description="Delete a row from the table pdmncln.")]
	public bool PdmnclnProvider_Delete(System.Int32 _id)
	{
		PdmnclnService serviceObject = new PdmnclnService();
		return serviceObject.Delete(_id);
	}		
	
	#endregion
	
	#region Find Functions
	
	/// <summary>
	/// 	Returns rows meeting the whereclause condition from the DataSource.
	/// </summary>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query.</param>
	/// <remarks></remarks>
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table pdmncln with additional query text.")]
	public InfoExpress.HIV.Domains.TList<Pdmncln> PdmnclnProvider_Find(string whereClause, int start, int pageLength, out int count)
	{
		PdmnclnService serviceObject = new PdmnclnService();
		return serviceObject.Find(whereClause, start, pageLength, out count);
	}
	
	#endregion Find Functions
	
	
	#region GetAll Functions
		
	/// <summary>
	/// 	Gets All rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <returns>Returns a <s>DataSet</s>.</returns>
	[WebMethod(Description="Get all rows from the table pdmncln.")]
	public InfoExpress.HIV.Domains.TList<Pdmncln> PdmnclnProvider_GetAll(int start, int pageLength, out int count)
	{
		PdmnclnService serviceObject = new PdmnclnService();
		return serviceObject.GetAll(start, pageLength, out count);		
	}
	
	#endregion
	
	#region GetPaged
	
	/// <summary>
	/// Gets a page of rows from the DataSource.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pageLength">Number of rows to return.</param>
	/// <param name="whereClause">Specifies the condition for the rows returned by a query (Name='John Doe', Name='John Doe' AND Id='1', Name='John Doe' OR Id='1').</param>
	/// <param name="orderBy">Specifies the sort criteria for the rows in the DataSource (Name ASC; BirthDay DESC, Name ASC);</param>
	/// <param name="count">Number of rows in the DataSource.</param>
	/// <remarks></remarks>
	/// <returns>Returns a typed collection of HIVServices objects.</returns>
	[WebMethod(Description="Get all rows from the table pdmncln.")]
	public InfoExpress.HIV.Domains.TList<Pdmncln> PdmnclnProvider_GetPaged(string whereClause, string orderBy, int start, int pageLength, out int count)
	{
		PdmnclnService serviceObject = new PdmnclnService();
		return serviceObject.GetPaged(whereClause, orderBy, start, pageLength, out count);
	}

	#endregion
		
	#region Get By Foreign Key Functions
#endregion
	
	#region Get By Index Functions
	
	/// <summary>
	/// 	Gets rows from the datasource based on the PK_pdmncln index.
	/// </summary>
	/// <param name="start">Row number at which to start reading.</param>
	/// <param name="pagelen">Number of rows to return.</param>
	/// <param name="Id"></param>
	/// <param name="count">out parameter to get total records for query</param>	
	/// <returns>Returns a DataSet.</returns>
	[WebMethod(Description="Get rows from the table pdmncln filtered by the column Id that is part of the PK_pdmncln index.")]
	public InfoExpress.HIV.Domains.Pdmncln PdmnclnProvider_GetById(System.Int32 _id, int start, int pageLength, out int count)
	{
		PdmnclnService serviceObject = new PdmnclnService();
		return serviceObject.GetById(_id, start, pageLength, out count);
	}
	

	#endregion Get By Index Functions
	
	#region Insert Methods
		
	/// <summary>
	/// 	Inserts an object into the datasource.
	/// </summary>	
	/// <remarks>After inserting into the datasource, the object will be returned
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a row in the table pdmncln.")]
	public InfoExpress.HIV.Domains.Pdmncln PdmnclnProvider_Insert(InfoExpress.HIV.Domains.Pdmncln entity )
	{
		PdmnclnService serviceObject = new PdmnclnService();
		serviceObject.Insert(entity);
		return entity;		
	}
	
	/// <summary>
	/// Inserts a InfoExpress.HIV.Domains.TList<Pdmncln> object into the datasource using a transaction.
	/// </summary>
	/// <param name="entity">InfoExpress.HIV.Domains.TList<Pdmncln> object to insert.</param>
	/// <remarks>After inserting into the datasource, the InfoExpress.HIV.Domains.Pdmncln object will be updated
	/// to refelect any changes made by the datasource. (ie: identity or computed columns)
	/// </remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Inserts a Bulk set of rows into the table pdmncln.")]
	public void PdmnclnProvider_BulkInsert(InfoExpress.HIV.Domains.TList<Pdmncln> entityList )
	{
		PdmnclnService serviceObject = new PdmnclnService();
		serviceObject.BulkInsert(entityList);
	}
	#endregion Insert Methods
			
	#region Update Methods
		
	/// <summary>
	/// 	Update an existing row in the datasource.
	/// </summary>
	/// <param name="entity"> object to update.</param>
	/// <remarks>After updating the datasource, the object will be updated
	/// to refelect any changes made by the datasource. (ie: identity columns)</remarks>
	/// <returns>Returns true if operation is successful.</returns>
	[WebMethod(Description="Update a row in the table pdmncln.")]
	public InfoExpress.HIV.Domains.Pdmncln PdmnclnProvider_Update(InfoExpress.HIV.Domains.Pdmncln entity)
	{
		PdmnclnService serviceObject = new PdmnclnService();
		serviceObject.Update(entity);
		return entity;
	}

	#endregion Update Methods

	#region Custom Methods
	
	
	#endregion

	#endregion pdmncln
	
	
	/* --------------------------------------------------------
		SQL VIEWS
	----------------------------------------------------------- */

}
